@@ -13,12 +13,15 @@ variable-rgx=[a-z_][a-z0-9_]{1,50}$
1313
1414[MESSAGES CONTROL]
1515# C0103 - invalid-name - Fix variable names to match convention
16+ # C0200 - consider-using-enumerate - Prefer enumerate() when you need index and value from an iterable
17+ # C0201 - consider-iterating-dictionary
1618# C0206 - consider-using-dict-items - Need to explicitly specify .keys() or .items() in a dictionary iteration
1719# C0207 - use-maxsplit-arg - Use maxsplit arg in split() calls
1820# C0209 - consider-using-f-string - Need to convert most format strings (using both % and .format) to f""-style strings
1921# C0301 - line-too-long - some of the type annotations are longer then 100 columns
2022# C0325 - superfluous-parens - Superfluous parens, easy to fix
2123# C0330 - bad-continuation - ignore conflicts produced by yapf formatting
24+ # C1803 - use-implicit-booleaness-not-comparison
2225# C2801 - unnecessary-dunder-call - Prefer a builtin call instead of a dunder method
2326# C3001 - unnecessary-lambda-assignment - Prefer def over lambda
2427
@@ -33,10 +36,12 @@ variable-rgx=[a-z_][a-z0-9_]{1,50}$
3336
3437# R0204 - redefined-variable-type
3538# R0205 - useless-object-inheritance - See PM-1380
39+ # R0402 - consider-using-from-import - Use better convention for module import
3640# R0801 - duplicate-code - See PM-1380
3741# R0903 - too-few-public-methods - pylint does not always know best
3842# R1705 - no-else-return - sometimes an unnecessary else helps readability
3943# R1710 - inconsistent-return-statements
44+ # R1714 - consider-using-in - Use 'x in [...]' instead
4045# R1720 - no-else-raise - See PM-1380
4146# R1728 - consider-using-generator - Use a generator instead of creating an in-memory list
4247# R1730 - consider-using-min-builtin - Lots of situations where min() can be used to eliminate an if block
@@ -59,6 +64,7 @@ variable-rgx=[a-z_][a-z0-9_]{1,50}$
5964# W0621 - redefined-outer-name - Overriding variable name
6065# W0640 - cell-var-from-loop
6166# W0719 - broad-exception-raised - Should use a more precise exception than `Exception`
67+ # W1406 - redundant-u-string-prefix
6268# W1505 - deprecated-method - See PM-1380
6369# W1514 - unspecified-encoding - Need to add 'encoding="utf-8"' to most open() operations
6470# W3101 - missing-timeout - Add an explicit timeout to some sync functions
@@ -70,8 +76,12 @@ disable=
7076 broad-exception-raised,
7177 cell-var-from-loop,
7278 consider-using-dict-items,
79+ consider-using-enumerate,
7380 consider-using-f-string,
81+ consider-using-from-import,
7482 consider-using-generator,
83+ consider-using-in,
84+ consider-iterating-dictionary,
7585 consider-using-max-builtin,
7686 consider-using-min-builtin,
7787 consider-using-with,
@@ -103,6 +113,7 @@ disable=
103113 no-name-in-module,
104114 protected-access,
105115 raise-missing-from,
116+ redundant-u-string-prefix,
106117 redefined-outer-name,
107118 subprocess-run-check,
108119 super-init-not-called,
@@ -129,8 +140,10 @@ disable=
129140 unused-argument,
130141 use-dict-literal,
131142 use-list-literal,
143+ use-implicit-booleaness-not-comparison,
132144 used-before-assignment,
133145 useless-object-inheritance,
146+ useless-suppression,
134147 wrong-import-order
135148enable =useless-suppression
136149
0 commit comments