@@ -246,10 +246,20 @@ ignore = [
246
246
" B023" ,
247
247
# Functions defined inside a loop must not use variables redefined in the loop
248
248
# "B301", # not yet implemented
249
+ # Too many arguments to function call
250
+ " PLR0913" ,
251
+ # Too many returns
252
+ " PLR0911" ,
253
+ # Too many branches
254
+ " PLR0912" ,
255
+ # Too many statements
256
+ " PLR0915" ,
249
257
250
258
# Additional checks that don't pass yet
251
259
# Within an except clause, raise exceptions with ...
252
260
" B904" ,
261
+ # Magic number
262
+ " PLR2004" ,
253
263
]
254
264
255
265
exclude = [
@@ -266,6 +276,7 @@ exclude = [
266
276
max-line-length = 88
267
277
disable = [
268
278
# intentionally turned off
279
+ " bad-mcs-classmethod-argument" ,
269
280
" broad-except" ,
270
281
" c-extension-no-member" ,
271
282
" comparison-with-itself" ,
@@ -301,6 +312,7 @@ disable = [
301
312
" unsupported-assignment-operation" ,
302
313
" unsupported-membership-test" ,
303
314
" unused-import" ,
315
+ " use-dict-literal" ,
304
316
" use-implicit-booleaness-not-comparison" ,
305
317
" use-implicit-booleaness-not-len" ,
306
318
" wrong-import-order" ,
@@ -311,11 +323,13 @@ disable = [
311
323
" no-value-for-parameter" ,
312
324
" undefined-variable" ,
313
325
" unpacking-non-sequence" ,
326
+ " used-before-assignment" ,
314
327
315
328
# pylint type "C": convention, for programming standard violation
316
329
" missing-class-docstring" ,
317
330
" missing-function-docstring" ,
318
331
" missing-module-docstring" ,
332
+ " superfluous-parens" ,
319
333
" too-many-lines" ,
320
334
" unidiomatic-typecheck" ,
321
335
" unnecessary-dunder-call" ,
@@ -335,6 +349,7 @@ disable = [
335
349
" arguments-out-of-order" ,
336
350
" arguments-renamed" ,
337
351
" attribute-defined-outside-init" ,
352
+ " broad-exception-raised" ,
338
353
" comparison-with-callable" ,
339
354
" dangerous-default-value" ,
340
355
" deprecated-module" ,
0 commit comments