Skip to content

Commit 46b7775

Browse files
[pylint] 'cell-var-from-loop' and 'disallowed-name' permanent disable
1 parent f4e7372 commit 46b7775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ disable= [
178178
"bad-mcs-method-argument",
179179
"broad-exception-caught",
180180
"broad-exception-raised",
181-
"cell-var-from-loop",
181+
"cell-var-from-loop", # B023 from ruff / flake8-bugbear
182182
"comparison-of-constants",
183183
"comparison-with-callable",
184184
"comparison-with-itself",
@@ -191,7 +191,7 @@ disable= [
191191
"consider-using-ternary",
192192
"consider-using-with",
193193
"cyclic-import",
194-
"disallowed-name",
194+
"disallowed-name", # foo / bar are used often in tests
195195
"duplicate-code",
196196
"eval-used",
197197
"exec-used",

0 commit comments

Comments
 (0)