Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8 or ruff? #192

Open
DimitriPapadopoulos opened this issue Mar 22, 2023 · 1 comment
Open

PEP8 or ruff? #192

DimitriPapadopoulos opened this issue Mar 22, 2023 · 1 comment

Comments

@DimitriPapadopoulos
Copy link
Contributor

DimitriPapadopoulos commented Mar 22, 2023

Would you agree with merge requests to fix (some) pep8/pycodestyle or ruff alerts?

pep8.txt

@DimitriPapadopoulos
Copy link
Contributor Author

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.
$ 
`

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

No branches or pull requests

1 participant