Skip to content

Add a GitHub Action to lint Python code with ruff#22

Merged
codenio merged 2 commits intocodenio:masterfrom
cclauss:ruff
Sep 29, 2025
Merged

Add a GitHub Action to lint Python code with ruff#22
codenio merged 2 commits intocodenio:masterfrom
cclauss:ruff

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Sep 28, 2025

Test results: https://github.com/cclauss/Mock.GPIO/actions

% ruff check

Error: Mock/GPIO.py:5:8: F401 `time` imported but unused
Error: Mock/GPIO.py:83:9: F841 Local variable `setModeDone` is assigned to but never used
Error: examples/test.py:3:1: E722 Do not use bare `except`

Fix ruff rule F841 issue using the same changes proposed in:

@codenio codenio merged commit 8c9623b into codenio:master Sep 29, 2025
1 check passed
@cclauss cclauss deleted the ruff branch September 29, 2025 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants