Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.38 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (50 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[project]
name = "battle-engine"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Dusan Maliarik", email = "dusan@struna.me" }
]
requires-python = ">=3.14"
dependencies = [
"dotenv>=0.9.9",
"fastapi[standard]>=0.142.2",
"pydantic-settings>=2.15.0",
"redis-om>=1.2.0",
"redis[hiredis]>=8.1.0",
"taskiq>=0.13.0",
"taskiq-redis>=1.2.4",
"aiosqlite>=0.22.1",
"sqlalchemy[asyncio]>=2.1.5",
"sqlmodel>=0.0.48",
]
[project.scripts]
server = "battle_engine.main:start"
[build-system]
requires = ["uv_build>=0.12.17,<0.13.0"]
build-backend = "uv_build"
[tool.fastapi]
entrypoint = "battle_engine.main:app"
[dependency-groups]
dev = [
"httpx2>=2.13.1",
"locust>=2.46.7",
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"pytest-docker>=3.2.6",
]
[tool.ruff.lint.flake8-bugbear]
# Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`.
extend-immutable-calls = ["Depends", "fastapi.Depends", "Query", "fastapi.Query"]
[tool.ruff.lint]
ignore = ["UP046", "UP047"]
[tool.pytest.ini_options]
addopts = ["-s"]
asyncio_mode = "auto"
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)5s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
asyncio_default_fixture_loop_scope = "session"
asyncio_default_test_loop_scope = "session"