Skip to content

Commit fa7c248

Browse files
authored
Merge pull request #1368 from DimitriPapadopoulos/deprecate_ruff_rules
STY: Disable deprecated ruff rules
2 parents 93c6d92 + 58bd5e9 commit fa7c248

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ ignore = [
151151
"C416",
152152
"PERF203",
153153
"PIE790",
154-
"PT004",
154+
"PT004", # deprecated
155+
"PT005", # deprecated
155156
"PT007",
156157
"PT011",
157158
"PT012",
@@ -162,6 +163,8 @@ ignore = [
162163
"RUF012", # TODO: enable
163164
"RUF015",
164165
"RUF017", # TODO: enable
166+
"UP027", # deprecated
167+
"UP038", # https://github.com/astral-sh/ruff/issues/7871
165168
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
166169
"W191",
167170
"E111",

0 commit comments

Comments
 (0)