Skip to content

Commit

Permalink
Changes for ruff 0.9.1
Browse files Browse the repository at this point in the history
Discard any reference to deprecated rules to avoid warnings.

ISC001 and ISC002 used together are compatible with the ruff formatter,
according to recent changes in the documentation.
  • Loading branch information
DimitriPapadopoulos committed Jan 14, 2025
1 parent 9c3a652 commit b782f25
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,14 @@ select = [
"YTT",
]
ignore = [
"ANN101",
"B904",
"PLR0914",
"PLR6201",
"PLW2901",
"PT004", # deprecated
"PT005", # deprecated
"RET505",
"S404",
"SIM105",
"SIM115",
"UP027", # deprecated
"UP038", # https://github.com/astral-sh/ruff/issues/7871
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
Expand All @@ -162,8 +158,6 @@ ignore = [
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]

[tool.ruff.lint.mccabe]
Expand Down

0 comments on commit b782f25

Please sign in to comment.