Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (48 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (48 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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling>=1.26.3,<2" ]
[project]
name = "template-python"
description = "Your project description here."
readme = "docs/src/index.md"
license = "MIT"
authors = [ { name = "Chris Broz" } ]
requires-python = ">=3.10,<3.14"
classifiers = [
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dynamic = [ "version" ]
dependencies = [ ]
urls.Homepage = "https://github.com/CBroz1/template-python"
urls.Repository = "https://github.com/CBroz1/template-python"
[tool.hatch.build.targets.sdist]
include = [ "src", "tests" ]
[tool.hatch.build.targets.wheel]
packages = [ "src/template_python" ]
[tool.hatch.version]
path = "src/template_python/__init__.py"
[tool.ruff]
src = [ "src", "tests" ]
format.docstring-code-format = true
lint.extend-select = [ "I", "UP" ]
lint.isort.known-first-party = [ "src", "tests" ]
[tool.pytest.ini_options]
addopts = "-q"
minversion = "6.0"
testpaths = [ "tests" ]
[tool.coverage.report]
exclude_lines = [ "if TYPE_CHECKING:", "pragma: no cover" ]
fail_under = 70
show_missing = true
[tool.coverage.run]
command_line = "-m pytest"
source_pkgs = [ "template_python", "tests" ]
[tool.coverage.paths]
template_python = [ "src/template_python" ]
tests = [ "tests" ]