-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable explicit Ruff check rules #23741
Conversation
As penance for not following PEP 8, I have selected reviewers to learn from some of the changes I made. 😉 |
Great job! I copied some of the rules to my project, thank you! 🙏 I can also recommend the following ones I currently use: select = [
# ...
"C90", # mccabe
"FIX", # flake8-fixme
"S", # flake8-bandit
# ...
]
[tool.ruff.lint.mccabe]
max-complexity = 6
|
Co-authored-by: Rafał <23004737+rafrafek@users.noreply.github.com>
d11737e
Thanks for the suggestions, but I purposefully left those out as they either go against how we already do things (e.g. |
Co-authored-by: Rafał <23004737+rafrafek@users.noreply.github.com>
No description provided.