Enable the Ruff-specific ruleset (#2951)

This commit is contained in:
correctmost 2024-11-28 04:15:30 -05:00 committed by GitHub
parent f314b7be54
commit e3ff449bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -210,6 +210,7 @@ select = [
"PLE", # Pylint errors
"PLW", # Pylint warnings
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"SLOT", # flake8-slot
"T10", # flake8-debugger
"UP", # pyupgrade
@ -220,6 +221,11 @@ select = [
ignore = [
"E722", # bare-except
"PLW2901", # redefined-loop-name
"RUF005", # collection-literal-concatenation
"RUF010", # explicit-f-string-type-conversion
"RUF012", # mutable-class-default
"RUF015", # unnecessary-iterable-allocation-for-first-element
"RUF039", # unraw-re-pattern
"UP028", # yield-in-for-loop
"UP031", # printf-string-formatting
"UP032", # f-string