-
Notifications
You must be signed in to change notification settings - Fork 73
[ENG-8423] add ruff support #400
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
[ENG-8423] add ruff support #400
Conversation
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.
Looks good with one question which is initially asked by @felliott .
There are minor differences between WB (left) and MFR (right) for the rules, wondering if we should make them the same. Or is there any special considerations for the discrepancy?

poetry.lock
Outdated
@@ -1,4 +1,4 @@ | |||
# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. | |||
# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. |
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.
👍 for using 2.1.2
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.
- it looks like some configurations in WB fail the process for now on
ruff format .
command run

and it looks we need to update it for WB
- the following one constraints added previously "E501", "E265", "E301", "E302", "F403", "E731", "B904", "B905" (I don't recall but maybe I added it previously to make it possible to run test suit without linter blocking, for now it goes ok without that constraints) , I removed it to keep it same
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.
LGTM ⭐
298dd25
to
5fd07dc
Compare
a080e58
into
CenterForOpenScience:feature/buff-worms
Ticket
https://openscience.atlassian.net/browse/ENG-8423
Purpose
add ruff support
Changes
added dependencies and configurations in poetry.lock and .toml files
(
more detailed PR here
#395
)
Side effects
created the PR from the following one #399
to keep it changings so please merge 399 previously
QA Notes
Deployment Notes