Skip to content

Commit 94690c7

Browse files
committed
Reinstate ruff and align with python-plugwise
1 parent 6051507 commit 94690c7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,12 @@ jobs:
9797
- name: Ruff (check)
9898
run: |
9999
. venv/bin/activate
100-
#ruff plugwise_usb/*py tests/*py
101-
echo "***"
102-
echo "***"
103-
echo "Code is not up to par for ruff, skipping"
104-
echo "***"
105-
echo "***"
100+
ruff check plugwise_usb/ tests/
106101
- name: If needed, commit ruff changes to the pull request
107102
if: failure()
108103
run: |
109104
. venv/bin/activate
110-
ruff --fix plugwise_usb/*py tests/*py
105+
ruff format plugwise_usb/ tests/
111106
git config --global user.name 'autoruff'
112107
git config --global user.email '[email protected]'
113108
git remote set-url origin https://x-access-token:${{ secrets.PAT_CT }}@github.com/$GITHUB_REPOSITORY

0 commit comments

Comments
 (0)