-
Notifications
You must be signed in to change notification settings - Fork 50
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
time
RuffF821
"time" is not defined PylancereportUndefinedVariable
Metadata
Metadata
Assignees
Labels
No labels