Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (75 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (75 loc) · 1.75 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["hatchling~=1.14"]
build-backend = "hatchling.build"
[project]
name = "pulp-docs"
version = "0.0.1"
requires-python = ">= 3.11"
dependencies = [
"mkdocs~=1.6.1",
"mkdocs-material~=9.6.7",
"mkdocstrings~=0.29.0",
"mkdocstrings-python~=1.14.1",
"mkdocs-macros-plugin~=1.3.7",
"mkdocs-site-urls~=0.2.0",
"mkdocs-literate-nav~=0.6.1",
"rich",
"uv",
"GitPython~=3.1.44",
]
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
descriptions = "Pulp Docs is a documentation aggregation tool for the Pulp Project."
readme = "README.md"
[project.scripts]
pulp-docs = "pulp_docs.cli:main"
pulp-linkchecker = "linkchecker.cli:main"
[project.entry-points."mkdocs.plugins"]
PulpDocs = "pulp_docs.plugin:PulpDocsPlugin"
###########
## BUILD ##
###########
[tool.hatch.build.targets.wheel]
packages = ["src/pulp_docs", "src/linkchecker"]
[tool.hatch.build.targets.wheel.force-include]
# enable using the installed package directly for development
"mkdocs.yml" = "pulp_docs/mkdocs.yml"
"pulpproject.org" = "pulp_docs/pulpproject.org"
"custom" = "pulp_docs/custom"
#############
## TESTING ##
#############
[tool.pytest.ini_options]
pythonpath = "src"
addopts = [
"--import-mode=importlib",
"--ignore=tests/integration",
]
markers = [
"integration: end-to-end tests that build the full site and require all repositories",
]
##########
## LINT ##
##########
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = []
exclude = [
".git",
".ruff_cache",
"__pycache__",
"build",
"dist",
"venv",
".venv",
]
extend-select = [
"T100", # detect breakpoints
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"