-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (54 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (54 loc) · 1.36 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
[project]
name = "sample_python_app"
version = "1.19.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"apscheduler>=3.11.2",
"black>=26.3.1",
"coverage>=7.13.2",
"httpx>=0.28.1",
"isort>=8.0.1",
"loguru>=0.7.3",
"pathlib>=1.0.1",
"prometheus-client>=0.24.1",
"pydantic>=2.12.5",
"pydantic-extra-types>=2.11.0",
"pydantic-settings>=2.12.0",
"pyfiglet>=1.0.4",
"pylint-pydantic>=0.4.1",
"pytest>=9.0.2",
"rich>=14.3.2",
"ruff>=0.15.6",
]
[project.optional-dependencies]
build = ["uv>=0.11.6"]
[build-system]
requires = ["uv_build >= 0.10.12"]
build-backend = "uv_build"
[project.scripts]
sample-python-app = "sample_python_app.main:run_app"
checks = "sample_python_app.scripts:run_checks"
[tool.semantic_release]
build_command = """
python -m pip install -e '.[build]'
uv lock --upgrade-package "$PACKAGE_NAME"
git add uv.lock
uv build
"""
version_toml = ["pyproject.toml:project.version"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
omit = ["tests/*"]
[tool.ruff]
line-length = 88
exclude = ["__pycache__", "build", "dist", ".venv"]
[tool.ruff.lint]
select = ["E", "F", "W", "C", "B", "I", "N", "D", "UP", "T", "A"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["F401"]
[tool.black]
target-version = ['py313']