Skip to content

Commit

Permalink
STY: Encorce ruff rules (RUF)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Oct 1, 2024
1 parent df06fe8 commit 6b42e26
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,19 @@ select = [
"PYI",
"Q",
"RSE",
"RUF",
"TCH",
"UP",
]
ignore = [
"B006", # TODO: enable
"B008", # TODO: enable
"B006", # TODO: enable
"B008", # TODO: enable
"B007",
"B011",
"B017", # TODO: enable
"B017", # TODO: enable
"B018",
"B020",
"B023", # TODO: enable
"B023", # TODO: enable
"B028",
"B904",
"C401",
Expand All @@ -157,6 +158,10 @@ ignore = [
"PT017",
"PT018",
"PYI024",
"RUF005",
"RUF012", # TODO: enable
"RUF015",
"RUF017", # TODO: enable
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
Expand Down

0 comments on commit 6b42e26

Please sign in to comment.