Skip to content

Commit a786900

Browse files
committed
Adjust ruff file scanning
1 parent 96d0a78 commit a786900

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ jobs:
8585
- name: Ruff (check)
8686
run: |
8787
. venv/bin/activate
88-
ruff check plugwise_usb/ tests/
88+
ruff check plugwise_usb/* tests/*
8989
- name: If needed, commit ruff changes to the pull request
9090
if: failure()
9191
run: |
9292
. venv/bin/activate
93-
ruff format plugwise_usb/ tests/
93+
ruff format plugwise_usb/* tests/*
9494
git config --global user.name 'autoruff'
9595
git config --global user.email 'plugwise_usb@users.noreply.github.com'
9696
git remote set-url origin https://x-access-token:${{ secrets.PAT_CT_PYPLUSB }}@github.com/$GITHUB_REPOSITORY

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- PR [#261](https://github.com/plugwise/python-plugwise-usb/pull/261): Sense: bugfix parsing of humidity value as an unsigned int
66
- PR #263 Maintenance chores and re-instatement of ruff, deprecate pre-commit cloud runs (just leveraging renovate)
77
- PR #264 Maintenance chores Rework Github Actions workflow
8+
- PR Maintenance chores Fix ruff reporting locally
89

910
## v0.44.3 - 2025-06-12
1011

scripts/tests_and_coverage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "linting" ] ; then
6565
biome_format
6666

6767
echo "... ruff checking ..."
68-
ruff check plugwise_usb/ tests/
68+
ruff check plugwise_usb/* tests/. # Does need the /* otherwise apparently skips __init__.py's
6969
handle_command_error "ruff checking"
7070
echo "... ruff formatting ..."
71-
ruff format plugwise_usb/ tests/
71+
ruff format plugwise_usb/* tests/*
7272
handle_command_error "ruff formatting"
7373

7474
echo "... pylint-ing ..."

0 commit comments

Comments
 (0)