Skip to content

Commit 6fdeb52

Browse files
committed
Disable Ruff rule C420 unnecessary-dict-comprehension-for-iterable
It makes code less readable.
1 parent dcbfc44 commit 6fdeb52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ ignore = [
168168
"B020",
169169
"B904", # Ruff enables opinionated warnings by default
170170
"B905", # Ruff enables opinionated warnings by default
171+
"C420", # unnecessary-dict-comprehension-for-iterable (worsens readability)
171172
]
172173
select = [
173174
"ASYNC",

0 commit comments

Comments
 (0)