123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516 |
- [flake8]
- select =
- E, W, # pep8 errors and warnings
- F, # pyflakes
- C9, # McCabe
- N8, # Naming Conventions
- PL, # Flake8-Pylint
- #B, S, # bandit
- #C, # commas
- #D, # docstrings
- #P, # string-format
- #Q, # quotes
- ignore =
- # closing bracket does not match indentation of opening bracket's line
- E123,
- # whitespace before ':'
- E203,
- # missing whitespace around arithmetic operator
- E226,
- # multiple spaces after ',' or tab after ','
- E24,
- # line break before binary operator
- W503,
- # line break after binary operator
- W504,
- # astroid-error
- PLF0002,
- # function-redefined
- PLE0102,
- # bad-reversed-sequence
- PLE0111,
- # no-method-argument
- PLE0211,
- # no-self-argument
- PLE0213,
- # access-member-before-definition
- PLE0203,
- # class-variable-slots-conflict
- PLE0242,
- # invalid-str-returned
- PLE0307,
- # invalid-hash-returned
- PLE0309,
- # relative-beyond-top-level
- PLE0402,
- # used-before-assignment
- PLE0601,
- # undefined-variable
- PLE0602,
- # undefined-all-variable
- PLE0603,
- # invalid-all-object
- PLE0604,
- # no-name-in-module
- PLE0611,
- # raising-bad-type
- PLE0702,
- # bad-super-call
- PLE1003,
- # bad-str-strip-call
- PLE1310,
- # not-async-context-manager
- PLE1701,
- # no-member
- PLE1101,
- # not-callable
- PLE1102,
- # assignment-from-no-return
- PLE1111,
- # no-value-for-parameter
- PLE1120,
- # too-many-function-args
- PLE1121,
- # unexpected-keyword-arg
- PLE1123,
- # redundant-keyword-arg
- PLE1124,
- # missing-kwoa
- PLE1125,
- # invalid-sequence-index
- PLE1126,
- # invalid-slice-index
- PLE1127,
- # assignment-from-none
- PLE1128,
- # not-context-manager
- PLE1129,
- # invalid-unary-operand-type
- PLE1130,
- # unsupported-binary-operation
- PLE1131,
- # repeated-keyword
- PLE1132,
- # not-an-iterable
- PLE1133,
- # not-a-mapping
- PLE1134,
- # unsupported-membership-test
- PLE1135,
- # unsubscriptable-object
- PLE1136,
- # unsupported-assignment-operation
- PLE1137,
- # unsupported-delete-operation
- PLE1138,
- # invalid-metaclass
- PLE1139,
- # dict-iter-missing-items
- PLE1141,
- # await-outside-async
- PLE1142,
- # unhashable-member
- PLE1143,
- # invalid-unicode-codec
- PLE2501,
- # bidirectional-unicode
- PLE2502,
- # invalid-character-backspace
- PLE2510,
- # invalid-character-carriage-return
- PLE2511,
- # invalid-character-sub
- PLE2512,
- # invalid-character-esc
- PLE2513,
- # invalid-character-nul
- PLE2514,
- # invalid-character-zero-width-space
- PLE2515,
- # import-error
- PLE0401,
- # invalid-name
- PLC0103,
- # disallowed-name
- PLC0104,
- # typevar-name-incorrect-variance
- PLC0105,
- # missing-module-docstring
- PLC0114,
- # missing-class-docstring
- PLC0115,
- # missing-function-docstring
- PLC0116,
- # singleton-comparison
- PLC0121,
- # unidiomatic-typecheck
- PLC0123,
- # typevar-double-variance
- PLC0131,
- # typevar-name-mismatch
- PLC0132,
- # consider-using-enumerate
- PLC0200,
- # consider-iterating-dictionary
- PLC0201,
- # bad-classmethod-argument
- PLC0202,
- # bad-mcs-classmethod-argument
- PLC0204,
- # single-string-used-for-slots
- PLC0205,
- # consider-using-dict-items
- PLC0206,
- # use-maxsplit-arg
- PLC0207,
- # use-sequence-for-iteration
- PLC0208,
- # consider-using-f-string
- PLC0209,
- # line-too-long
- PLC0301,
- # too-many-lines
- PLC0302,
- # trailing-whitespace
- PLC0303,
- # missing-final-newline
- PLC0304,
- # trailing-newlines
- PLC0305,
- # superfluous-parens
- PLC0325,
- # unexpected-line-ending-format
- PLC0328,
- # wrong-spelling-in-comment
- PLC0401,
- # wrong-spelling-in-docstring
- PLC0402,
- # invalid-characters-in-docstring
- PLC0403,
- # multiple-imports
- PLC0410,
- # wrong-import-order
- PLC0411,
- # ungrouped-imports
- PLC0412,
- # wrong-import-position
- PLC0413,
- # useless-import-alias
- PLC0414,
- # import-outside-toplevel
- PLC0415,
- # use-implicit-booleaness-not-len
- PLC1802,
- # use-implicit-booleaness-not-comparison
- PLC1803,
- # unnecessary-dunder-call
- PLC2801,
- # unnecessary-lambda-assignment
- PLC3001,
- # unnecessary-direct-lambda-call
- PLC3002,
- # raw-checker-failed
- PLI0001,
- # bad-inline-option
- PLI0010,
- # locally-disabled
- PLI0011,
- # file-ignored
- PLI0013,
- # suppressed-message
- PLI0020,
- # useless-suppression
- PLI0021,
- # deprecated-pragma
- PLI0022,
- # use-symbolic-message-instead
- PLI0023,
- # c-extension-no-member
- PLI1101,
- # useless-option-value
- PLR0022,
- # comparison-with-itself
- PLR0124,
- # comparison-of-constants
- PLR0133,
- # useless-object-inheritance
- PLR0205,
- # cyclic-import
- PLR0401,
- # consider-using-from-import
- PLR0402,
- # duplicate-code
- PLR0801,
- # too-many-ancestors
- PLR0901,
- # too-many-instance-attributes
- PLR0902,
- # too-few-public-methods
- PLR0903,
- # too-many-public-methods
- PLR0904,
- # too-many-return-statements
- PLR0911,
- # too-many-branches
- PLR0912,
- # too-many-arguments
- PLR0913,
- # too-many-locals
- PLR0914,
- # too-many-statements
- PLR0915,
- # too-many-boolean-expressions
- PLR0916,
- # consider-merging-isinstance
- PLR1701,
- # too-many-nested-blocks
- PLR1702,
- # simplifiable-if-statement
- PLR1703,
- # redefined-argument-from-local
- PLR1704,
- # no-else-return
- PLR1705,
- # consider-using-ternary
- PLR1706,
- # trailing-comma-tuple
- PLR1707,
- # stop-iteration-return
- PLR1708,
- # simplify-boolean-expression
- PLR1709,
- # inconsistent-return-statements
- PLR1710,
- # useless-return
- PLR1711,
- # consider-using-in
- PLR1714,
- # chained-comparison
- PLR1716,
- # consider-using-dict-comprehension
- PLR1717,
- # consider-using-set-comprehension
- PLR1718,
- # simplifiable-if-expression
- PLR1719,
- # no-else-raise
- PLR1720,
- # unnecessary-comprehension
- PLR1721,
- # consider-using-sys-exit
- PLR1722,
- # no-else-break
- PLR1723,
- # no-else-continue
- PLR1724,
- # super-with-arguments
- PLR1725,
- # consider-using-generator
- PLR1728,
- # use-a-generator
- PLR1729,
- # use-list-literal
- PLR1734,
- # use-dict-literal
- PLR1735,
- # unknown-option-value
- PLW0012,
- # unreachable
- PLW0101,
- # dangerous-default-value
- PLW0102,
- # pointless-statement
- PLW0104,
- # pointless-string-statement
- PLW0105,
- # expression-not-assigned
- PLW0106,
- # unnecessary-pass
- PLW0107,
- # unnecessary-lambda
- PLW0108,
- # useless-else-on-loop
- PLW0120,
- # eval-used
- PLW0123,
- # using-constant-test
- PLW0125,
- # missing-parentheses-for-call-in-test
- PLW0126,
- # self-assigning-variable
- PLW0127,
- # duplicate-value
- PLW0130,
- # comparison-with-callable
- PLW0143,
- # nan-comparison
- PLW0177,
- # assert-on-tuple
- PLW0199,
- # attribute-defined-outside-init
- PLW0201,
- # protected-access
- PLW0212,
- # arguments-differ
- PLW0221,
- # abstract-method
- PLW0223,
- # super-init-not-called
- PLW0231,
- # non-parent-init-called
- PLW0233,
- # invalid-overridden-method
- PLW0236,
- # arguments-renamed
- PLW0237,
- # unused-private-member
- PLW0238,
- # overridden-final-method
- PLW0239,
- # subclassed-final-class
- PLW0240,
- # useless-parent-delegation
- PLW0246,
- # unnecessary-semicolon
- PLW0301,
- # wildcard-import
- PLW0401,
- # reimported
- PLW0404,
- # import-self
- PLW0406,
- # preferred-module
- PLW0407,
- # misplaced-future
- PLW0410,
- # fixme
- PLW0511,
- # global-variable-not-assigned
- PLW0602,
- # global-statement
- PLW0603,
- # global-at-module-level
- PLW0604,
- # unused-import
- PLW0611,
- # unused-variable
- PLW0612,
- # unused-argument
- PLW0613,
- # unused-wildcard-import
- PLW0614,
- # redefined-outer-name
- PLW0621,
- # redefined-builtin
- PLW0622,
- # undefined-loop-variable
- PLW0631,
- # unbalanced-tuple-unpacking
- PLW0632,
- # cell-var-from-loop
- PLW0640,
- # possibly-unused-variable
- PLW0641,
- # bare-except
- PLW0702,
- # broad-except
- PLW0703,
- # try-except-raise
- PLW0706,
- # raise-missing-from
- PLW0707,
- # raising-format-tuple
- PLW0715,
- # wrong-exception-operation
- PLW0716,
- # keyword-arg-before-vararg
- PLW1113,
- # arguments-out-of-order
- PLW1114,
- # non-str-assignment-to-dunder-name
- PLW1115,
- # isinstance-second-argument-not-valid-type
- PLW1116,
- # logging-not-lazy
- PLW1201,
- # logging-format-interpolation
- PLW1202,
- # logging-fstring-interpolation
- PLW1203,
- # bad-format-string-key
- PLW1300,
- # unused-format-string-key
- PLW1301,
- # bad-format-string
- PLW1302,
- # missing-format-argument-key
- PLW1303,
- # unused-format-string-argument
- PLW1304,
- # format-combined-specification
- PLW1305,
- # missing-format-attribute
- PLW1306,
- # invalid-format-index
- PLW1307,
- # duplicate-string-formatting-argument
- PLW1308,
- # anomalous-backslash-in-string
- PLW1401,
- # anomalous-unicode-escape-in-string
- PLW1402,
- # implicit-str-concat
- PLW1404,
- # inconsistent-quotes
- PLW1405,
- # redundant-u-string-prefix
- PLW1406,
- # bad-open-mode
- PLW1501,
- # boolean-datetime
- PLW1502,
- # redundant-unittest-assert
- PLW1503,
- # bad-thread-instantiation
- PLW1506,
- # shallow-copy-environ
- PLW1507,
- # invalid-envvar-default
- PLW1508,
- # subprocess-popen-preexec-fn
- PLW1509,
- # subprocess-run-check
- PLW1510,
- # unspecified-encoding
- PLW1514,
- # forgotten-debug-statement
- PLW1515,
- # method-cache-max-size-none
- PLW1518,
- # useless-with-lock
- PLW2101,
- # non-ascii-file-name
- PLW2402,
- # using-f-string-in-unsupported-version
- PLW2601,
- # using-final-decorator-in-unsupported-version
- PLW2602,
- # missing-timeout
- PLW3101,
- # deprecated-module
- PLW4901,
- # deprecated-argument
- PLW4903,
- # deprecated-class
- PLW4904,
- # deprecated-decorator
- PLW4905,
- max-line-length = 200
|