Skip to content

Commit 07038f4

Browse files
committed
chore: sort ruff checks alphabetically, add configs
1 parent 19ab96c commit 07038f4

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -270,25 +270,28 @@ docstring-code-line-length = 88
270270
[tool.ruff.lint]
271271
exclude = ["docs/*"]
272272
select = [
273+
"A", # flake8-builtins
274+
"B", # flake8-bugbear
275+
"C4", # flake8-comprehensions
273276
"E", # pycodestyle
274277
"F", # pyflakes
275278
"I", # isort
276-
"UP", # pyupgrade
277-
"B", # flake8-bugbear
278-
"A", # flake8-builtins
279-
"C4", # flake8-comprehensions
280279
"LOG", # flake8-logging
281-
"T20", # flake8-print
282-
"PYI", # flake8-pyi
283-
"PT", # flake8-pytest-style
284280
"N", # pep8-naming
281+
"PT", # flake8-pytest-style
282+
"PYI", # flake8-pyi
285283
"S", # flake8-bandit
284+
"T20", # flake8-print
285+
"UP", # pyupgrade
286286
]
287287
ignore = [
288288
"E203", # E203: whitespace before ‘,’, ‘;’, or ‘:’ (not Black compliant)
289289
"E501", # E501: line too long (managed better by Bugbear's B950)
290290
]
291291

292+
[tool.ruff.lint.flake8-pytest-style]
293+
fixture-parentheses = true
294+
292295
[tool.ruff.lint.per-file-ignores]
293296
"tests/*" = [
294297
"S101", # S101 Use of `assert` detected

0 commit comments

Comments
 (0)