-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (72 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
80 lines (72 loc) · 1.53 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
[project]
name = "five08-monorepo"
version = "0.1.0"
description = "508.dev monorepo for Discord bot and job processing."
requires-python = ">=3.12"
dependencies = [
"discord_bot",
"api",
"worker",
"five08",
]
[tool.uv]
package = false
[tool.uv.sources]
discord_bot = { workspace = true }
api = { workspace = true }
worker = { workspace = true }
five08 = { workspace = true }
[tool.uv.workspace]
members = [
"apps/discord_bot",
"apps/api",
"apps/worker",
"packages/shared",
]
[dependency-groups]
dev = [
"pytest~=9.0",
"pytest-asyncio~=1.3.0",
"pytest-mock~=3.14",
"coverage~=7.6",
"ruff~=0.15.0",
"mypy~=1.14",
"watchfiles>=1.1.1",
"types-requests>=2.32.4.20250913",
"pre-commit>=3.7",
"pre-commit-uv",
"freezegun>=1.5.5",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
addopts = "--tb=short --strict-markers"
markers = [
"e2e: end-to-end tests requiring a live PostgreSQL connection",
]
[tool.coverage.run]
source = ["five08"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]
[tool.mypy]
namespace_packages = true
explicit_package_bases = true
mypy_path = [
"apps/discord_bot/src",
"apps/api/src",
"apps/worker/src",
"packages/shared/src",
]