@@ -200,7 +200,9 @@ disable = [
200
200
" arguments-renamed" ,
201
201
" assigning-non-slot" ,
202
202
" attribute-defined-outside-init" ,
203
+ " bad-builtin" ,
203
204
" bad-classmethod-argument" ,
205
+ " bad-dunder-name" ,
204
206
" bad-mcs-method-argument" ,
205
207
" broad-exception-caught" ,
206
208
" broad-exception-raised" ,
@@ -209,25 +211,41 @@ disable = [
209
211
" comparison-with-callable" ,
210
212
" comparison-with-itself" , # PLR0124 from ruff
211
213
" condition-evals-to-constant" ,
214
+ " consider-alternative-union-syntax" ,
215
+ " confusing-consecutive-elif" ,
216
+ " consider-using-any-or-all" ,
217
+ " consider-using-assignment-expr" ,
212
218
" consider-using-dict-items" ,
213
219
" consider-using-from-import" ,
214
220
" consider-using-f-string" ,
215
221
" consider-using-in" ,
222
+ " consider-using-namedtuple-or-dataclass" ,
216
223
" consider-using-ternary" ,
224
+ " consider-using-tuple" ,
217
225
" consider-using-with" ,
218
226
" consider-using-from-import" , # not activated by default, PLR0402 disabled in ruff
227
+ " consider-ternary-expression" ,
219
228
" cyclic-import" ,
229
+ " differing-param-doc" ,
230
+ " docstring-first-line-empty" ,
231
+ " deprecated-argument" ,
232
+ " deprecated-attribute" ,
233
+ " deprecated-class" ,
234
+ " deprecated-typing-alias" ,
235
+ " dict-init-mutate" ,
220
236
" disallowed-name" , # foo / bar are used often in tests
221
237
" duplicate-code" ,
222
238
" else-if-used" , # not activated by default, PLR5501 disabled in ruff
223
239
" empty-comment" , # not activated by default, PLR2044 disabled in ruff
224
240
" eval-used" ,
241
+ " eq-without-hash" ,
225
242
" exec-used" ,
226
243
" expression-not-assigned" ,
227
244
" fixme" ,
228
245
" global-statement" , # PLW0603 disabled in ruff
229
246
" import-error" ,
230
247
" import-outside-toplevel" ,
248
+ " import-private-name" ,
231
249
" inconsistent-return-statements" ,
232
250
" invalid-bool-returned" ,
233
251
" invalid-name" ,
@@ -238,8 +256,12 @@ disable = [
238
256
" magic-value-comparison" , # not activated by default, PLR2004 disabled in ruff
239
257
" method-hidden" ,
240
258
" missing-docstring" ,
259
+ " missing-param-doc" ,
260
+ " missing-raises-doc" ,
241
261
" missing-timeout" ,
262
+ " missing-type-doc" ,
242
263
" misplaced-bare-raise" , # PLE0704 from ruff
264
+ " misplaced-comparison-constant" ,
243
265
" multiple-statements" , # multiple-statements-on-one-line-colon (E701) from ruff
244
266
" no-else-break" ,
245
267
" no-else-continue" ,
@@ -248,6 +270,7 @@ disable = [
248
270
" no-member" ,
249
271
" no-name-in-module" ,
250
272
" no-self-argument" ,
273
+ " no-self-use" ,
251
274
" not-an-iterable" ,
252
275
" not-callable" ,
253
276
" pointless-exception-statement" , # https://github.com/pytest-dev/pytest/pull/12379
@@ -260,12 +283,14 @@ disable = [
260
283
" redefined-builtin" ,
261
284
" redefined-loop-name" , # PLW2901 disabled in ruff
262
285
" redefined-outer-name" ,
286
+ " redefined-variable-type" ,
263
287
" reimported" ,
264
288
" simplifiable-condition" ,
265
289
" simplifiable-if-expression" ,
266
290
" singleton-comparison" ,
267
291
" superfluous-parens" ,
268
292
" super-init-not-called" ,
293
+ " too-complex" ,
269
294
" too-few-public-methods" ,
270
295
" too-many-ancestors" ,
271
296
" too-many-arguments" , # disabled in ruff
@@ -279,6 +304,7 @@ disable = [
279
304
" too-many-public-methods" ,
280
305
" too-many-return-statements" , # disabled in ruff
281
306
" too-many-statements" , # disabled in ruff
307
+ " too-many-try-statements" ,
282
308
" try-except-raise" ,
283
309
" typevar-name-incorrect-variance" , # PLC0105 disabled in ruff
284
310
" unbalanced-tuple-unpacking" ,
@@ -300,10 +326,12 @@ disable = [
300
326
" use-dict-literal" ,
301
327
" use-implicit-booleaness-not-comparison" ,
302
328
" use-implicit-booleaness-not-len" ,
329
+ " use-set-for-membership" ,
303
330
" useless-else-on-loop" , # PLC0414 disabled in ruff
304
331
" useless-import-alias" ,
305
332
" useless-return" ,
306
333
" using-constant-test" ,
334
+ " while-used" ,
307
335
" wrong-import-order" , # handled by isort / ruff
308
336
" wrong-import-position" , # handled by isort / ruff
309
337
]
0 commit comments