chore: Projekt-Infrastruktur (pyproject.toml + pre-commit) aus Cloud-Lauf übernommen

This commit is contained in:
Hermes Agent
2026-06-22 06:57:07 +02:00
parent 7cb5e0aa76
commit 658d09ea75
2 changed files with 53 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
[project]
name = "bsn-livesystem"
version = "0.1.0"
requires-python = ">=3.13"
dependencies = [
"flask",
"pydantic",
"redis",
"structlog",
"pytest",
"pytest-cov",
"mypy",
]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "PL", "C90", "S"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101", "PLR2004"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.mypy]
strict = true
python_version = "3.13"
explicit_package_bases = true
[[tool.mypy.overrides]]
module = "pytest"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fakeredis"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"