Skip to content

Commit 1019e09

Browse files
authored
Ignore ruff C408 (#454)
We make use of kwargs quite a bit, and it's sometimes necessary to pass then through, e.g. to workers from the worker manager. It looks (aesthetically, at least) cleaner to pass as `key=value` rather than `"key":value`, also, we can avoid silly typos like `"k ey"`.
1 parent bd82058 commit 1019e09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ lint.ignore = [ "E722", "E731", "F401", "PERF203" ]
55
lint.mccabe.max-complexity = 18
66
target-version = "py310"
77

8+
[tool.ruff.lint.flake8-comprehensions]
9+
allow-dict-calls-with-keyword-arguments = true
10+
811
[tool.pytest.ini_options]
912
# DO always create a tracking issue when allow-listing warnings
1013
# DO NOT disable warnings-as-error: warnings of today are tomorrow's evolvability blocker.

0 commit comments

Comments
 (0)