-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
(🎁) Ability to specify default files in the config #3970
Comments
I think this is pretty reasonable, Black supports this too and it's useful. @MichaReiser - any thoughts here? |
@charliermarsh How do you do it in Black? I can't find it anywhere... |
I was mixed up -- Black doesn't support this, but Mypy does. |
[Edit] Do I understand the described use case correctly, that it should be possible to declare a pyproject.toml file as the global default, which overrides the built-in ruff default settings (but does not override project-specific pyproject.toml files)? In that case, I agree very much that this feature is very helpful, even needed. PS: Thanks for your development efforts, ruff is great! |
…tory (#8791) Closes #7347 Closes #3970 via use of `include` We could update examples in our documentation, but I worry since we do not have versioned documentation users on older versions would be confused. Instead, I'll open an issue to track updating use of `ruff check .` in the documentation sometime in the future.
I want to be able to specify the default files within the configuration file so that I don't need to duplicate this config in different places.
Then it is possible to invoke ruff without passing any paths:
The text was updated successfully, but these errors were encountered: