-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
55 lines (49 loc) · 1.02 KB
/
pyproject.toml
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
[project]
name = "chess-server"
version = "0.1.0"
description = "Chess server"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"chess>=1.10.0",
"fastapi[standard]>=0.115.0",
"jinja2>=3.1.4",
"msgspec>=0.18.6",
"prometheus-fastapi-instrumentator>=7.0.0",
"python-chess>=1.2.0",
"uvicorn>=0.30.6",
"websockets>=13.0.1",
]
[tool.uv]
dev-dependencies = [
"pytest>=8.3.2",
"pytest-asyncio>=0.24.0",
"pytest-mock>=3.14.0",
"pytest-watcher>=0.4.3",
"ruff",
"mypy>=1.11.2",
"httpx>=0.27.2",
]
[tool.ruff]
line-length = 89
target-version = "py311"
[tool.ruff.lint]
extend-select = ["I"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
pythonpath = ["src"]
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true
show_error_codes = true
exclude = ["migrations", ".venv"]
[[tool.mypy.overrides]]
module = [
"tests.*",
"app.main",
]
disallow_incomplete_defs = false
disallow_untyped_defs = false
disallow_any_generics = false