This commit is contained in:
Piotr Dec 2025-10-06 22:39:42 +02:00
parent 604ee83631
commit d3e990384d
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0
9 changed files with 118 additions and 0 deletions

36
pyproject.toml Normal file
View file

@ -0,0 +1,36 @@
[project]
name = "Karl"
version = "0.1.0"
description = "Because name 'Jenkins' was already taken. Greatest composer ever."
readme = "README.md"
requires-python = ">=3.12"
authors = [{ name = "Piotr Dec" }]
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"jinja2>=3.1.4",
]
[project.optional-dependencies]
dev = [
"httpx>=0.27.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.23.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"types-Jinja2>=2.11.9",
]
[project.scripts]
app = "app.main:run"
[tool.uv]
# uv automatycznie wykrywa dependencies z [project]
# Możesz dodać tu własne ustawienia cache/mirrors, jeśli potrzebne.
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.pytest.ini_options]
asyncio_mode = "auto"