-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve lint tests #302
Improve lint tests #302
Conversation
Determine 'download' state where it is used.
Some can be ignored, some should be fixed but can be ignored for now.
Make checking typos part of lint tests.
c9d9a68
to
93941c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've heard great things about ruff, nice! The quote situation does surprise me, though. Lots of double quotes are changed to single quotes. Is this ruff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Black would change this from single quotes to double quotes... does ruff have very different style rules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Black always prefers/uses double quotes unless you tell it to skip quote normalization, which I did when I applied black.
Ruff allows it to be configured, to tell it which
https://github.com/HiSPARC/publicdb/blob/testing-updates/pyproject.toml#L83-L87
I prefer single quotes, so I chose that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, too. Double quotes to single quotes?
Replace flake8/black by ruff for code style and formatting.
Add typos for spell checking.
Fix Python tests cleanup by disabling multiprocessing.