Open DimitriPapadopoulos opened 1 year ago
As a start, I have applied pyupgrade to the Python code in #203.
Once and if this pull request is accepted, I can work on ruff alerts.
If you are not allergic to black, it might be even easier to start with black then fix any remaining issues:
$ ruff .
[...]
Found 299 errors.
[*] 18 potentially fixable with the --fix option.
$
$ black .
[...]
All done! ✨ 🍰 ✨
19 files reformatted, 3 files left unchanged.
$
$ ruff .
[...]
Found 86 errors.
[*] 18 potentially fixable with the --fix option.
$
`
Would you agree with merge requests to fix (some) pep8/pycodestyle or ruff alerts?
pep8.txt