You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this example of what i'm try to accomplish is better:
[tool.ruff.flake8-tidy-imports][tool.ruff.flake8-tidy-imports.banned-api]"random".msg = "The random module is forbidden within test files, as it might cause them not to be deterministic""random".pattern = "**/*_test.py"
As shown in the configuration there is an option to exclude rules:
https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
I want an option to include rules on specific files patterns
for example, I want to force specific rules on
_test.py
files in my project.The text was updated successfully, but these errors were encountered: