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
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:
this will resolve all the unused imports and catch any unused code like the following