Skip to content

Commit ba441f0

Browse files
committed
chore: Add more ruff rules
1 parent bc833e3 commit ba441f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,12 @@ line-length = 99
182182
select = [
183183
"F",
184184
"E",
185+
"C",
185186
"W",
187+
"B",
186188
"I",
189+
"SIM",
190+
"UP",
187191
]
188192
ignore = [
189193
"E203",
@@ -198,6 +202,9 @@ inline-quotes = "single"
198202
[tool.ruff.lint.extend-per-file-ignores]
199203
"*/__init__.py" = ["F401"]
200204
"docs/conf.py" = ["E265"]
205+
"*/test_*.py" = [
206+
"B018", # Unassigned expressions are fine
207+
]
201208

202209
[tool.ruff.format]
203210
quote-style = "single"

0 commit comments

Comments
 (0)