@@ -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
@@ -122,6 +123,7 @@ extend-select = [
122123 " SIM" , # flake8-simplify
123124 " SLOT" , # flake8-slots
124125 " T10" , # flake8-debugger
126+ " T20" , # flake8-print
125127 " TRY" , # tryceratops
126128 " UP" , # pyupgrade
127129 " W" ,
@@ -136,9 +138,12 @@ ignore = [
136138 " SIM105" , # try/except is faster than contextlib.suppress
137139 " TRY003" , # long messages outside exception class
138140]
141+ flake8-comprehensions.allow-dict-calls-with-keyword-arguments = true
139142flake8-unused-arguments.ignore-variadic-names = true
140143
141144[tool .ruff .lint .per-file-ignores ]
142- "tests/test_*.py" = [" PYI024" , " PLR" , " SIM201" , " RET505" ]
143- "tasks/check.py" = [" UP032" ]
145+ "tests/test_*.py" = [" PYI024" , " PLR" , " SIM201" , " T20 " , " RET505" ]
146+ "tasks/check.py" = [" UP032" , " T20 " ]
144147"tests/test_requirements.py" = [" UP032" ]
148+ "src/packaging/_musllinux.py" = [" T20" ]
149+ "noxfile.py" = [" T20" ]
0 commit comments