Skip to content

Commit

Permalink
Enable the Ruff-specific ruleset (archlinux#2951)
Browse files Browse the repository at this point in the history
  • Loading branch information
correctmost authored and castillofrancodamian committed Dec 21, 2024
1 parent f81e6ff commit 4c32005
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4c32005

Please sign in to comment.