-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
59 lines (50 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
[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 = "Your Name", email = "your.email@example.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
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/yourusername/your-repo#readme"
Issues = "https://github.com/yourusername/your-repo/issues"
Source = "https://github.com/yourusername/your-repo"
[tool.hatch.version]
path = "src/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__.:"]