Skip to content

Commit 013f3b0

Browse files
authored
chore: check ruff C4 (#962)
* chore: check ruff C4 * chore: allow C408 in tests Signed-off-by: Henry Schreiner <[email protected]> * refactor: just skip dict() -> {} Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]> Signed-off-by: Henry Schreiner <[email protected]>
1 parent 2b3fcaf commit 013f3b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ extend-select = [
9696
"ARG", # flake8-unused-argument
9797
"B", # flake8-bugbear
9898
"BLE", # flake8-blind-except
99+
"C4", # flake8-comprehensions
99100
"DTZ", # flake8-datetimez
100101
"E",
101102
"EXE", # flake8-executable
@@ -135,6 +136,7 @@ ignore = [
135136
"SIM105", # try/except is faster than contextlib.suppress
136137
"TRY003", # long messages outside exception class
137138
]
139+
flake8-comprehensions.allow-dict-calls-with-keyword-arguments = true
138140
flake8-unused-arguments.ignore-variadic-names = true
139141

140142
[tool.ruff.lint.per-file-ignores]

0 commit comments

Comments
 (0)