|
3 | 3 | # A comma-separated list of package or module names from where C extensions may |
4 | 4 | # be loaded. Extensions are loading into the active Python interpreter and may |
5 | 5 | # run arbitrary code. |
6 | | -extension-pkg-whitelist= |
| 6 | +extension-pkg-allow-list=dash.html,dash.dash_table |
7 | 7 |
|
8 | 8 | # Add files or directories to the blacklist. They should be base names, not |
9 | 9 | # paths. |
@@ -159,7 +159,13 @@ disable=invalid-name, |
159 | 159 | line-too-long, |
160 | 160 | super-with-arguments, |
161 | 161 | raise-missing-from, |
162 | | - bad-option-value |
| 162 | + bad-option-value, |
| 163 | + use-dict-literal, |
| 164 | + missing-timeout, |
| 165 | + unnecessary-dunder-call, |
| 166 | + unnecessary-lambda-assignment, |
| 167 | + broad-exception-raised, |
| 168 | + consider-using-generator, |
163 | 169 |
|
164 | 170 | # Enable the message, report, category or checker with the given id(s). You can |
165 | 171 | # either give multiple identifier separated by comma (,) or put this option |
@@ -332,13 +338,6 @@ indent-string=' ' |
332 | 338 | # Maximum number of lines in a module. |
333 | 339 | max-module-lines=1000 |
334 | 340 |
|
335 | | -# List of optional constructs for which whitespace checking is disabled. `dict- |
336 | | -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. |
337 | | -# `trailing-comma` allows a space between comma and closing bracket: (a, ). |
338 | | -# `empty-line` allows space-only lines. |
339 | | -no-space-check=trailing-comma, |
340 | | - dict-separator |
341 | | - |
342 | 341 | # Allow the body of a class to be on the same line as the declaration if body |
343 | 342 | # contains single statement. |
344 | 343 | single-line-class-stmt=no |
@@ -516,7 +515,7 @@ max-bool-expr=5 |
516 | 515 | max-branches=15 |
517 | 516 |
|
518 | 517 | # Maximum number of locals for function / method body. |
519 | | -max-locals=15 |
| 518 | +max-locals=18 |
520 | 519 |
|
521 | 520 | # Maximum number of parents for a class (see R0901). |
522 | 521 | max-parents=7 |
@@ -574,4 +573,4 @@ known-third-party=enchant |
574 | 573 |
|
575 | 574 | # Exceptions that will emit a warning when being caught. Defaults to |
576 | 575 | # "Exception". |
577 | | -overgeneral-exceptions=Exception |
| 576 | +overgeneral-exceptions=builtins.Exception |
0 commit comments