Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
Lint: Create a project-wide.ruff.toml
settings file#133124
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
yup, that's the correct way to do config-file inheritance! |
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.
Nice, thank you!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
fe3c7e1
intopython:mainUh oh!
There was an error while loading.Please reload this page.
bedevere-bot commentedMay 1, 2025
|
Uh oh!
There was an error while loading.Please reload this page.
We have some settings that are replicated in every
.ruff.toml
. It's somewhat useful to centralise, so that we keep consistency throughout the project.I've set
target-version
as 3.10 as that seems most common (inspired by PYTHON_FOR_REGEN?), but I'd have no objections to requiring something more recent.I believe we need the
extend
lines, unless there's some way to get Ruff to automatically look in parent/project root directories (cc@AlexWaygood).A
📚 Documentation preview 📚:https://cpython-previews--133124.org.readthedocs.build/