Skip to content

Commit b782f25

Browse files
Changes for ruff 0.9.1
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.
1 parent 9c3a652 commit b782f25

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pyproject.toml

-6
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,14 @@ select = [
136136
"YTT",
137137
]
138138
ignore = [
139-
"ANN101",
140139
"B904",
141140
"PLR0914",
142141
"PLR6201",
143142
"PLW2901",
144-
"PT004", # deprecated
145-
"PT005", # deprecated
146143
"RET505",
147144
"S404",
148145
"SIM105",
149146
"SIM115",
150-
"UP027", # deprecated
151147
"UP038", # https://github.com/astral-sh/ruff/issues/7871
152148
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
153149
"W191",
@@ -162,8 +158,6 @@ ignore = [
162158
"Q003",
163159
"COM812",
164160
"COM819",
165-
"ISC001",
166-
"ISC002",
167161
]
168162

169163
[tool.ruff.lint.mccabe]

0 commit comments

Comments
 (0)