Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
Latest commit
62 lines (47 loc) · 1.39 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (47 loc) · 1.39 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
# Virtual workspace root — not a publishable package.
# See: https://pydevtools.com/handbook/how-to/how-to-set-up-a-python-monorepo-with-uv-workspaces/
#
# Python pin: .python-version + requires-python on every member (>=3.12).
# CI must use the same minor (document when workflows land — Epic 6).
[tool.uv.workspace]
members = ["packages/*"]
[tool.uv]
# Prefer the pinned interpreter from .python-version when creating the venv.
python-preference = "managed"
# Dev tools are added in Epic 2; groups reserved so root tasks stay stable.
[dependency-groups]
dev = [
"ruff>=0.16.3",
"pyright>=1.1.411",
"pre-commit>=4.6.2",
"pytest-cov>=7.1.0",
"pytest-asyncio>=1.4.0",
"pytest>=9.1.1",
]
[tool.ruff]
target-version = "py312"
line-length = 88
src = ["packages"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.ruff.lint.per-file-ignores]
"**/cli.py" = ["B008"]
[tool.ruff.format]
quote-style = "double"
[tool.pyright]
include = ["packages"]
pythonVersion = "3.12"
typeCheckingMode = "basic"
venvPath = "."
venv = ".venv"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["packages"]
pythonpath = ["packages/create-python-app-core/src", "packages/create-awesome-python-app/src"]
[tool.coverage.run]
source = ["create_python_app_core", "create_awesome_python_app"]
branch = true
[tool.coverage.report]
fail_under = 50
show_missing = true
skip_empty = true