-
Notifications
You must be signed in to change notification settings - Fork 289
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
Code formatting: Python #2509
Comments
We're probably going to go with |
I have for my ruff config lint.select = [
"B0", # bugbear (all B0* checks enabled by default)
"B904", # bugbear (Within an except clause, raise exceptions with raise ... from err)
"B905", # bugbear (zip() without an explicit strict= parameter set.)
"C9", # mccabe complexity
"E", # pycodestyles
"W", # pycodestyles
"F", # pyflakes
"I", # isort
"PGH", # pygrep-hooks
"PLC", # pylint conventions
"PLE", # pylint errors
"UP", # pyupgrade
]
lint.ignore = [
"E402", # module import not at top of file
"E731", # do not assign a lambda use a def
"E741", # Ambiguous variable name
"UP031", # Use format specifiers instead of percent format
"UP038" # Use X | Y in isinstance check instead of (X, Y)
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Format Python code
Definition of Done:
The text was updated successfully, but these errors were encountered: