Skip to content

Commit e52c4c8

Browse files
STY: Disable deprecated ruff rules
1 parent 7963366 commit e52c4c8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pyproject.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,28 +135,31 @@ select = [
135135
"UP",
136136
]
137137
ignore = [
138-
"B006", # TODO: enable
139-
"B008", # TODO: enable
138+
"B006", # TODO: enable
139+
"B008", # TODO: enable
140140
"B007",
141141
"B011",
142-
"B017", # TODO: enable
142+
"B017", # TODO: enable
143143
"B018",
144144
"B020",
145-
"B023", # TODO: enable
145+
"B023", # TODO: enable
146146
"B028",
147147
"B904",
148148
"C401",
149149
"C408",
150150
"C416",
151151
"PERF203",
152152
"PIE790",
153-
"PT004",
153+
"PT004", # deprecated
154+
"PT005", # deprecated
154155
"PT007",
155156
"PT011",
156157
"PT012",
157158
"PT017",
158159
"PT018",
159160
"PYI024",
161+
"UP027", # deprecated
162+
"UP038", # https://github.com/astral-sh/ruff/issues/7871
160163
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
161164
"W191",
162165
"E111",

0 commit comments

Comments
 (0)