Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (52 loc) · 1.46 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "your-package-name"
dynamic = ["version"]
description = "Your package description"
readme = "README.md"
requires-python = ">=3.13"
license = "Apache-2.0"
keywords = ["keyword1", "keyword2", "keyword3"]
authors = [
{ name = "Agenta", email = "hello@buildagenta.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = []
[dependency-groups]
dev = [
"mypy>=1.19.0",
"pytest>=8.0.0",
"pytest-cov>=6.0.0",
"ruff>=0.14.9",
]
[project.urls]
Documentation = "https://github.com/buildagenta/python-template#readme"
Issues = "https://github.com/buildagenta/python-template/issues"
Source = "https://github.com/buildagenta/python-template"
[tool.uv]
# Every package must have been on its index for at least a week before it is locked.
exclude-newer = "7 days"
[tool.hatch.version]
path = "src/your_package_name/__about__.py"
[tool.ruff]
target-version = "py313"
line-length = 100
[tool.mypy]
python_version = "3.13"
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = ["--strict-markers", "--strict-config", "-ra"]
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:", "if __name__ == .__main__.:"]