-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 1.7 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (73 loc) · 1.7 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[project]
name = "python-rng-game-platform"
version = "0.1.0"
description = "Server-authoritative free-to-play game platform"
readme = "README.md"
requires-python = ">=3.14,<3.15"
dependencies = [
"alembic==1.18.5",
"asyncpg==0.31.0",
"fastapi==0.139.0",
"jinja2==3.1.6",
"pydantic==2.13.4",
"pydantic-settings==2.14.2",
"redis==8.0.1",
"sqlalchemy==2.0.51",
"uvicorn==0.51.0",
]
[dependency-groups]
dev = [
"mypy==2.2.0",
"ruff==0.15.20",
]
test = [
"httpx==0.28.1",
"pytest==9.1.1",
"pytest-asyncio==1.4.0",
"pytest-cov==7.1.0",
]
[tool.uv]
package = false
default-groups = ["dev", "test"]
[tool.ruff]
target-version = "py314"
line-length = 100
extend-exclude = ["alembic/versions"]
[tool.ruff.lint]
select = ["ASYNC", "B", "E", "F", "I", "RUF", "S", "SIM", "UP"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.mypy]
python_version = "3.14"
strict = true
warn_unreachable = true
show_error_codes = true
pretty = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_decorators = false
[tool.pytest.ini_options]
addopts = [
"--strict-config",
"--strict-markers",
"--cov=app",
"--cov=tools",
"--cov-report=term-missing",
"--cov-fail-under=80",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
markers = [
"unit: deterministic tests without infrastructure",
"integration: tests against real Compose-managed infrastructure",
"api: HTTP boundary tests",
"concurrency: transaction and race-condition tests",
]
[tool.coverage.run]
branch = true
source = ["app", "tools"]
[tool.coverage.report]
show_missing = true
skip_covered = true