-
Notifications
You must be signed in to change notification settings - Fork 0
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
One fix target to rule them all #11
Comments
legoktm
added a commit
to freedomofpress/securedrop
that referenced
this issue
Sep 19, 2024
Upgrade ruff to the latest version so we can use it for formatting and native editor integration. While we're at it, introduce the standard `make fix` target (<freedomofpress/securedrop-tooling#11>). Actually fixing new issues will happen in follow-ups to make this change easier to review. Fixes #7225.
4 tasks
legoktm
added a commit
to freedomofpress/securedrop
that referenced
this issue
Sep 19, 2024
Upgrade ruff to the latest version so we can use it for formatting and native editor integration. While we're at it, introduce the standard `make fix` target (<freedomofpress/securedrop-tooling#11>). Actually fixing new issues will happen in follow-ups to make this change easier to review. Fixes #7226.
legoktm
added a commit
to freedomofpress/securedrop
that referenced
this issue
Sep 19, 2024
Upgrade ruff to the latest version so we can use it for formatting and native editor integration. While we're at it, introduce the standard `make fix` target (<freedomofpress/securedrop-tooling#11>). We can remove `--show-source` too now that it's the default. Actually fixing new issues will happen in follow-ups to make this change easier to review. Fixes #7226.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have
make black
andmake isort
, and soon enough we'll havemake ruff
. Instead of needing to know which tools are enabled and causing issues, we should have one universalmake fix
command that runs as many auto-fixers as possible.In MediaWiki we standardized on
composer fix
(c.f. https://www.mediawiki.org/wiki/Continuous_integration/Entry_points#PHP), which has worked out nicely IMO.The text was updated successfully, but these errors were encountered: