|
|
@ -54,88 +54,14 @@ confidence= |
|
|
|
# --enable=similarities". If you want to run only the classes checker, but have |
|
|
|
# --enable=similarities". If you want to run only the classes checker, but have |
|
|
|
# no Warning level messages displayed, use"--disable=all --enable=classes |
|
|
|
# no Warning level messages displayed, use"--disable=all --enable=classes |
|
|
|
# --disable=W" |
|
|
|
# --disable=W" |
|
|
|
disable=print-statement, |
|
|
|
disable= |
|
|
|
parameter-unpacking, |
|
|
|
|
|
|
|
unpacking-in-except, |
|
|
|
|
|
|
|
old-raise-syntax, |
|
|
|
|
|
|
|
backtick, |
|
|
|
|
|
|
|
long-suffix, |
|
|
|
|
|
|
|
old-ne-operator, |
|
|
|
|
|
|
|
old-octal-literal, |
|
|
|
|
|
|
|
import-star-module-level, |
|
|
|
|
|
|
|
non-ascii-bytes-literal, |
|
|
|
|
|
|
|
invalid-unicode-literal, |
|
|
|
|
|
|
|
raw-checker-failed, |
|
|
|
raw-checker-failed, |
|
|
|
bad-inline-option, |
|
|
|
bad-inline-option, |
|
|
|
locally-disabled, |
|
|
|
locally-disabled, |
|
|
|
locally-enabled, |
|
|
|
|
|
|
|
file-ignored, |
|
|
|
file-ignored, |
|
|
|
suppressed-message, |
|
|
|
suppressed-message, |
|
|
|
useless-suppression, |
|
|
|
useless-suppression, |
|
|
|
deprecated-pragma, |
|
|
|
deprecated-pragma, |
|
|
|
apply-builtin, |
|
|
|
|
|
|
|
basestring-builtin, |
|
|
|
|
|
|
|
buffer-builtin, |
|
|
|
|
|
|
|
cmp-builtin, |
|
|
|
|
|
|
|
coerce-builtin, |
|
|
|
|
|
|
|
execfile-builtin, |
|
|
|
|
|
|
|
file-builtin, |
|
|
|
|
|
|
|
long-builtin, |
|
|
|
|
|
|
|
raw_input-builtin, |
|
|
|
|
|
|
|
reduce-builtin, |
|
|
|
|
|
|
|
standarderror-builtin, |
|
|
|
|
|
|
|
unicode-builtin, |
|
|
|
|
|
|
|
xrange-builtin, |
|
|
|
|
|
|
|
coerce-method, |
|
|
|
|
|
|
|
delslice-method, |
|
|
|
|
|
|
|
getslice-method, |
|
|
|
|
|
|
|
setslice-method, |
|
|
|
|
|
|
|
no-absolute-import, |
|
|
|
|
|
|
|
old-division, |
|
|
|
|
|
|
|
dict-iter-method, |
|
|
|
|
|
|
|
dict-view-method, |
|
|
|
|
|
|
|
next-method-called, |
|
|
|
|
|
|
|
metaclass-assignment, |
|
|
|
|
|
|
|
indexing-exception, |
|
|
|
|
|
|
|
raising-string, |
|
|
|
|
|
|
|
reload-builtin, |
|
|
|
|
|
|
|
oct-method, |
|
|
|
|
|
|
|
hex-method, |
|
|
|
|
|
|
|
nonzero-method, |
|
|
|
|
|
|
|
cmp-method, |
|
|
|
|
|
|
|
input-builtin, |
|
|
|
|
|
|
|
round-builtin, |
|
|
|
|
|
|
|
intern-builtin, |
|
|
|
|
|
|
|
unichr-builtin, |
|
|
|
|
|
|
|
map-builtin-not-iterating, |
|
|
|
|
|
|
|
zip-builtin-not-iterating, |
|
|
|
|
|
|
|
range-builtin-not-iterating, |
|
|
|
|
|
|
|
filter-builtin-not-iterating, |
|
|
|
|
|
|
|
using-cmp-argument, |
|
|
|
|
|
|
|
eq-without-hash, |
|
|
|
|
|
|
|
div-method, |
|
|
|
|
|
|
|
idiv-method, |
|
|
|
|
|
|
|
rdiv-method, |
|
|
|
|
|
|
|
exception-message-attribute, |
|
|
|
|
|
|
|
invalid-str-codec, |
|
|
|
|
|
|
|
sys-max-int, |
|
|
|
|
|
|
|
bad-python3-import, |
|
|
|
|
|
|
|
deprecated-string-function, |
|
|
|
|
|
|
|
deprecated-str-translate-call, |
|
|
|
|
|
|
|
deprecated-itertools-function, |
|
|
|
|
|
|
|
deprecated-types-field, |
|
|
|
|
|
|
|
next-method-defined, |
|
|
|
|
|
|
|
dict-items-not-iterating, |
|
|
|
|
|
|
|
dict-keys-not-iterating, |
|
|
|
|
|
|
|
dict-values-not-iterating, |
|
|
|
|
|
|
|
deprecated-operator-function, |
|
|
|
|
|
|
|
deprecated-urllib-function, |
|
|
|
|
|
|
|
xreadlines-attribute, |
|
|
|
|
|
|
|
deprecated-sys-function, |
|
|
|
|
|
|
|
exception-escape, |
|
|
|
|
|
|
|
comprehension-escape, |
|
|
|
|
|
|
|
bad-whitespace, |
|
|
|
|
|
|
|
bad-continuation, |
|
|
|
|
|
|
|
invalid-name, |
|
|
|
invalid-name, |
|
|
|
wrong-import-position, |
|
|
|
wrong-import-position, |
|
|
|
global-statement, |
|
|
|
global-statement, |
|
|
@ -149,7 +75,8 @@ disable=print-statement, |
|
|
|
isinstance-second-argument-not-valid-type, |
|
|
|
isinstance-second-argument-not-valid-type, |
|
|
|
consider-using-f-string, |
|
|
|
consider-using-f-string, |
|
|
|
consider-using-max-builtin, |
|
|
|
consider-using-max-builtin, |
|
|
|
use-implicit-booleaness-not-comparison |
|
|
|
use-implicit-booleaness-not-comparison, |
|
|
|
|
|
|
|
unnecessary-lambda-assignment, |
|
|
|
|
|
|
|
|
|
|
|
# Enable the message, report, category or checker with the given id(s). You can |
|
|
|
# Enable the message, report, category or checker with the given id(s). You can |
|
|
|
# either give multiple identifier separated by comma (,) or put this option |
|
|
|
# either give multiple identifier separated by comma (,) or put this option |
|
|
@ -294,13 +221,6 @@ max-line-length=120 |
|
|
|
# Maximum number of lines in a module |
|
|
|
# Maximum number of lines in a module |
|
|
|
max-module-lines=1000 |
|
|
|
max-module-lines=1000 |
|
|
|
|
|
|
|
|
|
|
|
# List of optional constructs for which whitespace checking is disabled. `dict- |
|
|
|
|
|
|
|
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. |
|
|
|
|
|
|
|
# `trailing-comma` allows a space between comma and closing bracket: (a, ). |
|
|
|
|
|
|
|
# `empty-line` allows space-only lines. |
|
|
|
|
|
|
|
no-space-check=trailing-comma, |
|
|
|
|
|
|
|
dict-separator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Allow the body of a class to be on the same line as the declaration if body |
|
|
|
# Allow the body of a class to be on the same line as the declaration if body |
|
|
|
# contains single statement. |
|
|
|
# contains single statement. |
|
|
|
single-line-class-stmt=no |
|
|
|
single-line-class-stmt=no |
|
|
|