-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I have a proposal for adding ruff for this project to improve code quality and standard according to pep8. I have forked the repo and checked that it is already using black and pyre but I have a suggestion to use ruff instead for both as a linter and formatter instead of black.
.pre-commit-config.yaml:
rev: "v0.5.4"
hooks:
- id: ruff
args: ["--fix"]
- id: ruff-format
this will resolve all the unused imports and catch any unused code like the following
Undefined name
timeRuffF821
"time" is not defined PylancereportUndefinedVariable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels