refactor: streamline error messages and improve code formatting for consistency

This commit is contained in:
bohd4nx
2026-03-09 03:32:45 +02:00
parent c3de8a8ca3
commit 6c869428aa
10 changed files with 67 additions and 43 deletions
+8 -6
View File
@@ -4,14 +4,16 @@ python_files = ["[0-9][0-9][0-9]_test_*.py"]
asyncio_mode = "auto"
addopts = "-v --tb=short"
[tool.black]
line-length = 128
target-version = ["py312"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["app", "tests"]
line-length = 128
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "C4", "RUF"]
# E — pycodestyle errors, F — pyflakes, W — warnings, I — isort
select = ["E", "F", "W", "I"]
# E501 — line too long (covered by line-length above)
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["app"]