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 7765dde commit eff7f81
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 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,9 @@ ignore = [
"PT017",
"PT018",
"PYI024",
"RUF005",
"RUF012", # TODO: enable
"RUF017", # TODO: enable
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
Expand Down

0 comments on commit eff7f81

Please sign in to comment.