forked from pypa/sampleproject
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
64 lines (55 loc) · 1.46 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
[build-system]
requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "init-python-project"
description = "A python project generator."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "Jannis Mainczyk", email = "[email protected]" }]
maintainers = [{ name = "Jannis Mainczyk", email = "[email protected]" }]
dependencies = ["copier", "typer[all]"]
dynamic = ["version"]
license = { file = "LICENSE", type = "MIT" }
[tool.setuptools_scm]
fallback_version = "0.0.0"
[tool.setuptools.package-data]
"*" = [
"**/*.jinja",
"**/*.md",
"**/*.txt",
"**/*.yaml",
"**/*.yml",
"**/*.toml",
"*.cfg",
"context",
".*",
"**/.*",
]
"init_python_project.template" = [".*", "**/.*"]
[project.optional-dependencies]
dev = ["black", "pre-commit", "ruff"]
test = ["pytest", "pytest-venv", "pytest-xdist", "pexpect"]
doc = [
"mkdocs",
"mkdocs-material",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-literate-nav",
"mkdocs-macros-plugin",
"mkdocs-macros-includex",
"mkdocs-exclude",
"mkdocs-autorefs",
"pyyaml",
]
[project.scripts] # optional
init-python-project = "init_python_project.cli:app"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q -n auto --exitfirst"
testpaths = ["tests"]
markers = ["slow"]
filterwarnings = ["ignore::copier.vcs.DirtyLocalWarning"]
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100