Compare commits
4 Commits
main
...
ac7aa0197b
| Author | SHA1 | Date | |
|---|---|---|---|
| ac7aa0197b | |||
| bf67483e53 | |||
| ded087292a | |||
| eebac265af |
@@ -0,0 +1,7 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
|
rev: v0.11.0
|
||||||
|
hooks:
|
||||||
|
- id: ruff
|
||||||
|
args: [--fix]
|
||||||
|
- id: ruff-format
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
[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.format]
|
||||||
|
quote-style = "double"
|
||||||
|
indent-style = "space"
|
||||||
|
docstring-code-format = true
|
||||||
|
|
||||||
|
[tool.mypy]
|
||||||
|
strict = true
|
||||||
|
python_version = "3.13"
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = ["tests"]
|
||||||
|
addopts = "-v --tb=short"
|
||||||
+70
-10
@@ -2,15 +2,75 @@
|
|||||||
"nacht": 1,
|
"nacht": 1,
|
||||||
"gestartet": null,
|
"gestartet": null,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{"nr": 1, "file": "pyproject.toml", "status": "offen", "commit": null, "timestamp": null},
|
{
|
||||||
{"nr": 2, "file": ".pre-commit-config.yaml", "status": "offen", "commit": null, "timestamp": null},
|
"nr": 1,
|
||||||
{"nr": 3, "file": "src/models/submission.py", "status": "offen", "commit": null, "timestamp": null},
|
"file": "pyproject.toml",
|
||||||
{"nr": 4, "file": "src/utils/validators.py", "status": "offen", "commit": null, "timestamp": null},
|
"status": "erledigt",
|
||||||
{"nr": 5, "file": "src/queue/handler.py", "status": "offen", "commit": null, "timestamp": null},
|
"commit": "ded0872",
|
||||||
{"nr": 6, "file": "src/queue/webhook.py", "status": "offen", "commit": null, "timestamp": null},
|
"timestamp": "2026-06-22T01:25:00+02:00"
|
||||||
{"nr": 7, "file": "src/queue/worker.py", "status": "offen", "commit": null, "timestamp": null},
|
},
|
||||||
{"nr": 8, "file": "src/app.py", "status": "offen", "commit": null, "timestamp": null},
|
{
|
||||||
{"nr": 9, "file": "src/routes/whatsapp.py", "status": "offen", "commit": null, "timestamp": null},
|
"nr": 2,
|
||||||
{"nr": 10, "file": "src/routes/telegram.py", "status": "offen", "commit": null, "timestamp": null}
|
"file": ".pre-commit-config.yaml",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 3,
|
||||||
|
"file": "src/models/submission.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 4,
|
||||||
|
"file": "src/utils/validators.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 5,
|
||||||
|
"file": "src/queue/handler.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 6,
|
||||||
|
"file": "src/queue/webhook.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 7,
|
||||||
|
"file": "src/queue/worker.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 8,
|
||||||
|
"file": "src/app.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 9,
|
||||||
|
"file": "src/routes/whatsapp.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nr": 10,
|
||||||
|
"file": "src/routes/telegram.py",
|
||||||
|
"status": "offen",
|
||||||
|
"commit": null,
|
||||||
|
"timestamp": null
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user