-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
73 lines (61 loc) · 1.8 KB
/
pyproject.toml
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
65
66
67
68
69
70
71
72
73
[project]
name = "python-package-template"
description= "A template project for python packages"
version = "0.1.0b0"
authors = [{ name = "John Aziz", email = "[email protected]" }]
maintainers = [{ name = "John Aziz", email = "[email protected]" }]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.urls]
Homepage = "https://github.com/john0isaac/python-package-template"
Issues = "https://github.com/john0isaac/python-package-template/issues"
Contributing = "https://github.com/john0isaac/python-package-template/pulls"
Releases = "https://github.com/john0isaac/python-package-template/releases"
[tool.setuptools.package-data]
"*" = ["*.html", "*.txt", "*.xml", "*.md"]
[project.optional-dependencies]
dev = [
"pre-commit",
"ruff",
"black",
"mypy",
]
test = [
"pytest",
"pytest-cov",
]
[tool.ruff]
line-length = 120
target-version = "py312"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
isort.known-first-party = ["python-package-template"]
[tool.black]
line-length = 120
target-version = ["py312"]
[tool.mypy]
check_untyped_defs = true
python_version = 3.12
exclude = [".venv/*", "tests/"]
[tool.pytest.ini_options]
addopts = "-ra --cov"
testpaths = ["tests"]
pythonpath = ['src']
[tool.coverage.report]
show_missing = true
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"