diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-07-08 15:54:05 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-07-08 15:54:05 +0000 |
commit | fc7be18c76af2e700641f3598c4856baeef1428e (patch) | |
tree | 11dbca45eb321c3a4dd08b12152acc6ef5dd3fa9 /build/config/tests/flake8/flake8.conf | |
parent | ec0e7ed6da6fb317741fd8468602949a1362eca5 (diff) | |
parent | c92cb9d3a19331916f0c274d80e67f02a62caa9b (diff) | |
download | ydb-fc7be18c76af2e700641f3598c4856baeef1428e.tar.gz |
Merge branch 'rightlib' into mergelibs-240708-1553
Diffstat (limited to 'build/config/tests/flake8/flake8.conf')
-rw-r--r-- | build/config/tests/flake8/flake8.conf | 526 |
1 files changed, 285 insertions, 241 deletions
diff --git a/build/config/tests/flake8/flake8.conf b/build/config/tests/flake8/flake8.conf index 83f8c590d3..b0f5b2cf25 100644 --- a/build/config/tests/flake8/flake8.conf +++ b/build/config/tests/flake8/flake8.conf @@ -1,4 +1,5 @@ [flake8] +jobs = 1 select = E, W, # pep8 errors and warnings F, # pyflakes @@ -27,490 +28,533 @@ ignore = W504, # astroid-error - PLF0002, + PLF002, # function-redefined - PLE0102, + PLE102, # bad-reversed-sequence - PLE0111, + PLE111, + # method-hidden + PLE202, # no-method-argument - PLE0211, + PLE211, # no-self-argument - PLE0213, + PLE213, # access-member-before-definition - PLE0203, + PLE203, # class-variable-slots-conflict - PLE0242, + PLE242, # invalid-str-returned - PLE0307, + PLE307, # invalid-hash-returned - PLE0309, + PLE309, # relative-beyond-top-level - PLE0402, + PLE402, # used-before-assignment - PLE0601, + PLE601, # undefined-variable - PLE0602, + PLE602, # undefined-all-variable - PLE0603, + PLE603, # invalid-all-object - PLE0604, + PLE604, # no-name-in-module - PLE0611, + PLE611, # raising-bad-type - PLE0702, + PLE702, + # catching-non-exception + PLE712, # bad-super-call - PLE1003, + PLE003, # bad-str-strip-call - PLE1310, + PLE310, # not-async-context-manager - PLE1701, + PLE701, # no-member - PLE1101, + PLE101, # not-callable - PLE1102, + PLE102, # assignment-from-no-return - PLE1111, + PLE111, # no-value-for-parameter - PLE1120, + PLE120, # too-many-function-args - PLE1121, + PLE121, # unexpected-keyword-arg - PLE1123, + PLE123, # redundant-keyword-arg - PLE1124, + PLE124, # missing-kwoa - PLE1125, + PLE125, # invalid-sequence-index - PLE1126, + PLE126, # invalid-slice-index - PLE1127, + PLE127, # assignment-from-none - PLE1128, + PLE128, # not-context-manager - PLE1129, + PLE129, # invalid-unary-operand-type - PLE1130, + PLE130, # unsupported-binary-operation - PLE1131, + PLE131, # repeated-keyword - PLE1132, + PLE132, # not-an-iterable - PLE1133, + PLE133, # not-a-mapping - PLE1134, + PLE134, # unsupported-membership-test - PLE1135, + PLE135, # unsubscriptable-object - PLE1136, + PLE136, # unsupported-assignment-operation - PLE1137, + PLE137, # unsupported-delete-operation - PLE1138, + PLE138, # invalid-metaclass - PLE1139, + PLE139, # dict-iter-missing-items - PLE1141, + PLE141, # await-outside-async - PLE1142, + PLE142, # unhashable-member - PLE1143, + PLE143, # invalid-unicode-codec - PLE2501, + PLE501, # bidirectional-unicode - PLE2502, + PLE502, # invalid-character-backspace - PLE2510, + PLE510, # invalid-character-carriage-return - PLE2511, + PLE511, # invalid-character-sub - PLE2512, + PLE512, # invalid-character-esc - PLE2513, + PLE513, # invalid-character-nul - PLE2514, + PLE514, # invalid-character-zero-width-space - PLE2515, + PLE515, # import-error - PLE0401, + PLE401, + + # possibly-used-before-assignment + PLE606, # invalid-name - PLC0103, + PLC103, # disallowed-name - PLC0104, + PLC104, # typevar-name-incorrect-variance - PLC0105, + PLC105, + # empty-docstring + PLC112, # missing-module-docstring - PLC0114, + PLC114, # missing-class-docstring - PLC0115, + PLC115, # missing-function-docstring - PLC0116, + PLC116, + # unnecessary-negation + PLC117, # singleton-comparison - PLC0121, + PLC121, # unidiomatic-typecheck - PLC0123, + PLC123, # typevar-double-variance - PLC0131, + PLC131, # typevar-name-mismatch - PLC0132, + PLC132, # consider-using-enumerate - PLC0200, + PLC200, # consider-iterating-dictionary - PLC0201, + PLC201, # bad-classmethod-argument - PLC0202, + PLC202, # bad-mcs-classmethod-argument - PLC0204, + PLC204, # single-string-used-for-slots - PLC0205, + PLC205, # consider-using-dict-items - PLC0206, + PLC206, # use-maxsplit-arg - PLC0207, + PLC207, # use-sequence-for-iteration - PLC0208, + PLC208, # consider-using-f-string - PLC0209, + PLC209, # line-too-long - PLC0301, + PLC301, # too-many-lines - PLC0302, + PLC302, # trailing-whitespace - PLC0303, + PLC303, # missing-final-newline - PLC0304, + PLC304, # trailing-newlines - PLC0305, + PLC305, # superfluous-parens - PLC0325, + PLC325, # unexpected-line-ending-format - PLC0328, + PLC328, # wrong-spelling-in-comment - PLC0401, + PLC401, # wrong-spelling-in-docstring - PLC0402, + PLC402, # invalid-characters-in-docstring - PLC0403, + PLC403, # multiple-imports - PLC0410, + PLC410, # wrong-import-order - PLC0411, + PLC411, # ungrouped-imports - PLC0412, + PLC412, # wrong-import-position - PLC0413, + PLC413, # useless-import-alias - PLC0414, + PLC414, # import-outside-toplevel - PLC0415, + PLC415, # use-implicit-booleaness-not-len - PLC1802, + PLC802, # use-implicit-booleaness-not-comparison - PLC1803, + PLC803, # unnecessary-dunder-call - PLC2801, + PLC801, # unnecessary-lambda-assignment - PLC3001, + PLC001, # unnecessary-direct-lambda-call - PLC3002, + PLC002, # raw-checker-failed - PLI0001, + PLI001, # bad-inline-option - PLI0010, + PLI010, # locally-disabled - PLI0011, + PLI011, # file-ignored - PLI0013, + PLI013, # suppressed-message - PLI0020, + PLI020, # useless-suppression - PLI0021, + PLI021, # deprecated-pragma - PLI0022, + PLI022, # use-symbolic-message-instead - PLI0023, + PLI023, # c-extension-no-member - PLI1101, + PLI101, # useless-option-value - PLR0022, + PLR022, # comparison-with-itself - PLR0124, + PLR124, # comparison-of-constants - PLR0133, + PLR133, # useless-object-inheritance - PLR0205, + PLR205, + # property-with-parameters + PLR206, # cyclic-import - PLR0401, + PLR401, # consider-using-from-import - PLR0402, + PLR402, # duplicate-code - PLR0801, + PLR801, # too-many-ancestors - PLR0901, + PLR901, # too-many-instance-attributes - PLR0902, + PLR902, # too-few-public-methods - PLR0903, + PLR903, # too-many-public-methods - PLR0904, + PLR904, # too-many-return-statements - PLR0911, + PLR911, # too-many-branches - PLR0912, + PLR912, # too-many-arguments - PLR0913, + PLR913, # too-many-locals - PLR0914, + PLR914, # too-many-statements - PLR0915, + PLR915, # too-many-boolean-expressions - PLR0916, + PLR916, # consider-merging-isinstance - PLR1701, + PLR701, # too-many-nested-blocks - PLR1702, + PLR702, # simplifiable-if-statement - PLR1703, + PLR703, # redefined-argument-from-local - PLR1704, + PLR704, # no-else-return - PLR1705, + PLR705, # consider-using-ternary - PLR1706, + PLR706, # trailing-comma-tuple - PLR1707, + PLR707, # stop-iteration-return - PLR1708, + PLR708, # simplify-boolean-expression - PLR1709, + PLR709, # inconsistent-return-statements - PLR1710, + PLR710, # useless-return - PLR1711, + PLR711, + # consider-using-join + PLR713, # consider-using-in - PLR1714, + PLR714, # chained-comparison - PLR1716, + PLR716, # consider-using-dict-comprehension - PLR1717, + PLR717, # consider-using-set-comprehension - PLR1718, + PLR718, # simplifiable-if-expression - PLR1719, + PLR719, # no-else-raise - PLR1720, + PLR720, # unnecessary-comprehension - PLR1721, + PLR721, # consider-using-sys-exit - PLR1722, + PLR722, # no-else-break - PLR1723, + PLR723, # no-else-continue - PLR1724, + PLR724, # super-with-arguments - PLR1725, + PLR725, # consider-using-generator - PLR1728, + PLR728, # use-a-generator - PLR1729, + PLR729, + # consider-using-min-builtin + PLR730, + # consider-using-max-builtin + PLR731, + # consider-using-with + PLR732, # use-list-literal - PLR1734, + PLR734, # use-dict-literal - PLR1735, + PLR735, + # use-yield-from + PLR737, # unknown-option-value - PLW0012, + PLW012, # unreachable - PLW0101, + PLW101, # dangerous-default-value - PLW0102, + PLW102, # pointless-statement - PLW0104, + PLW104, # pointless-string-statement - PLW0105, + PLW105, # expression-not-assigned - PLW0106, + PLW106, # unnecessary-pass - PLW0107, + PLW107, # unnecessary-lambda - PLW0108, + PLW108, # useless-else-on-loop - PLW0120, + PLW120, + # exec-used + PLW122, # eval-used - PLW0123, + PLW123, # using-constant-test - PLW0125, + PLW125, # missing-parentheses-for-call-in-test - PLW0126, + PLW126, # self-assigning-variable - PLW0127, + PLW127, + # assert-on-string-literal + PLW129, # duplicate-value - PLW0130, + PLW130, + # pointless-exception-statement + PLW133, + # return-in-finally + PLW134, + # contextmanager-generator-missing-cleanup + PLW135, # comparison-with-callable - PLW0143, + PLW143, + # lost-exception + PLW150, # nan-comparison - PLW0177, + PLW177, # assert-on-tuple - PLW0199, + PLW199, # attribute-defined-outside-init - PLW0201, + PLW201, # protected-access - PLW0212, + PLW212, # arguments-differ - PLW0221, + PLW221, # abstract-method - PLW0223, + PLW223, # super-init-not-called - PLW0231, + PLW231, # non-parent-init-called - PLW0233, + PLW233, # invalid-overridden-method - PLW0236, + PLW236, # arguments-renamed - PLW0237, + PLW237, # unused-private-member - PLW0238, + PLW238, # overridden-final-method - PLW0239, + PLW239, # subclassed-final-class - PLW0240, + PLW240, # useless-parent-delegation - PLW0246, + PLW246, # unnecessary-semicolon - PLW0301, + PLW301, + # f-string-without-interpolation + PLW309, + # format-string-without-interpolation + PLW310, # wildcard-import - PLW0401, + PLW401, # reimported - PLW0404, + PLW404, # import-self - PLW0406, + PLW406, # preferred-module - PLW0407, + PLW407, # misplaced-future - PLW0410, + PLW410, # fixme - PLW0511, + PLW511, # global-variable-not-assigned - PLW0602, + PLW602, # global-statement - PLW0603, + PLW603, # global-at-module-level - PLW0604, + PLW604, # unused-import - PLW0611, + PLW611, # unused-variable - PLW0612, + PLW612, # unused-argument - PLW0613, + PLW613, # unused-wildcard-import - PLW0614, + PLW614, # redefined-outer-name - PLW0621, + PLW621, # redefined-builtin - PLW0622, + PLW622, # undefined-loop-variable - PLW0631, + PLW631, # unbalanced-tuple-unpacking - PLW0632, + PLW632, # cell-var-from-loop - PLW0640, + PLW640, # possibly-unused-variable - PLW0641, + PLW641, # bare-except - PLW0702, + PLW702, # broad-except - PLW0703, + PLW703, # try-except-raise - PLW0706, + PLW706, # raise-missing-from - PLW0707, + PLW707, # raising-format-tuple - PLW0715, + PLW715, # wrong-exception-operation - PLW0716, + PLW716, # keyword-arg-before-vararg - PLW1113, + PLW113, # arguments-out-of-order - PLW1114, + PLW114, # non-str-assignment-to-dunder-name - PLW1115, + PLW115, # isinstance-second-argument-not-valid-type - PLW1116, + PLW116, # logging-not-lazy - PLW1201, + PLW201, # logging-format-interpolation - PLW1202, + PLW202, # logging-fstring-interpolation - PLW1203, + PLW203, # bad-format-string-key - PLW1300, + PLW300, # unused-format-string-key - PLW1301, + PLW301, # bad-format-string - PLW1302, + PLW302, # missing-format-argument-key - PLW1303, + PLW303, # unused-format-string-argument - PLW1304, + PLW304, # format-combined-specification - PLW1305, + PLW305, # missing-format-attribute - PLW1306, + PLW306, # invalid-format-index - PLW1307, + PLW307, # duplicate-string-formatting-argument - PLW1308, + PLW308, # anomalous-backslash-in-string - PLW1401, + PLW401, # anomalous-unicode-escape-in-string - PLW1402, + PLW402, # implicit-str-concat - PLW1404, + PLW404, # inconsistent-quotes - PLW1405, + PLW405, # redundant-u-string-prefix - PLW1406, + PLW406, # bad-open-mode - PLW1501, + PLW501, # boolean-datetime - PLW1502, + PLW502, # redundant-unittest-assert - PLW1503, + PLW503, # bad-thread-instantiation - PLW1506, + PLW506, # shallow-copy-environ - PLW1507, + PLW507, # invalid-envvar-default - PLW1508, + PLW508, # subprocess-popen-preexec-fn - PLW1509, + PLW509, # subprocess-run-check - PLW1510, + PLW510, # unspecified-encoding - PLW1514, + PLW514, # forgotten-debug-statement - PLW1515, + PLW515, # method-cache-max-size-none - PLW1518, + PLW518, # useless-with-lock - PLW2101, + PLW101, # non-ascii-file-name - PLW2402, + PLW402, # using-f-string-in-unsupported-version - PLW2601, + PLW601, # using-final-decorator-in-unsupported-version - PLW2602, + PLW602, + # broad-exception-caught + PLW718, + # broad-exception-raised + PLW719, # missing-timeout - PLW3101, + PLW101, # deprecated-module - PLW4901, + PLW901, # deprecated-argument - PLW4903, + PLW903, # deprecated-class - PLW4904, + PLW904, # deprecated-decorator - PLW4905, + PLW905, max-line-length = 200 |