style: fix style

This commit is contained in:
2025-10-27 15:10:31 +01:00
parent 9b36982bf2
commit 4859c3ac04
13 changed files with 241 additions and 75 deletions

View File

@@ -20,6 +20,11 @@ dependencies = [
]
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"ruff>=0.14.2",
"ruff-format>=0.3.0",
]
test = [
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
@@ -29,3 +34,21 @@ test = [
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort (import sorting)
"UP", # pyupgrade (modernize code)
"B", # flake8-bugbear (common bugs)
"C4", # flake8-comprehensions (unnecessary comprehensions)
]
ignore = [
"E226", # spaces around operators
"E701", # multiple statements on a single line
]