-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
100 lines (88 loc) · 2.27 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mkapi"
version = "3.0.22"
description = "A plugin for MkDocs to generate API documentation"
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: MkDocs",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
]
requires-python = ">=3.10"
dependencies = [
"jinja2",
"mkdocs-material",
"mkdocs>=1.6.0",
"rich",
"tomli>=1.1.0; python_version<'3.11'",
]
[project.urls]
Documentation = "https://daizutabi.github.io/mkapi/"
Source = "https://github.com/daizutabi/mkapi"
Issues = "https://github.com/daizutabi/mkapi/issues"
[project.entry-points."mkdocs.plugins"]
mkapi = "mkapi.plugin:MkApiPlugin"
[tool.uv]
dev-dependencies = [
"pytest-clarity",
"pytest-cov",
"pytest-randomly",
"pytest-xdist",
"ruff",
]
[tool.hatch.build.targets.sdist]
exclude = ["/.github", "/docs"]
[tool.hatch.build.targets.wheel]
packages = ["src/mkapi"]
[tool.pytest.ini_options]
addopts = ["--doctest-modules", "--cov=mkapi", "--cov-report=lcov:lcov.info"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL"]
filterwarnings = [
'ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning',
'ignore:\nPyarrow will become a required dependency:DeprecationWarning',
]
[tool.coverage.run]
disable_warnings = ["module-not-measured"]
[tool.coverage.report]
exclude_lines = [
"except ImportError",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.ruff]
line-length = 88
target-version = "py310"
exclude = ["tests/examples/*.py", "example/*.py"]
[tool.ruff.lint]
select = ["ALL"]
unfixable = ["F401"]
ignore = [
"ANN002",
"ANN003",
"ARG001",
"ARG002",
"D105",
"D107",
"D203",
"D213",
"FBT001",
"FBT002",
"PERF401",
"PGH003",
"PLR2004",
"SIM102",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "ARG", "D", "PLR", "RUF", "S"]
"src/mkapi/plugin.py" = ["D"]