-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpyproject.toml
84 lines (75 loc) · 1.87 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mkapi"
version = "4.0.1"
description = "A plugin for MkDocs to generate API documentation"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "daizutabi", email = "[email protected]" }]
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 = [
"astdoc>=1.0.0",
"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"
[dependency-groups]
dev = [
"pytest-clarity>=1",
"pytest-cov>=6",
"pytest-randomly>=3.16",
"pytest-xdist>=3.6",
]
[tool.pytest.ini_options]
addopts = ["--doctest-modules", "--cov=mkapi", "--cov-report=lcov:lcov.info"]
[tool.coverage.report]
exclude_lines = ["if TYPE_CHECKING:", "raise NotImplementedError"]
skip_covered = true
[tool.ruff]
line-length = 88
target-version = "py310"
exclude = ["tests/examples/*.py", "example/*.py"]
[tool.ruff.lint]
select = ["ALL"]
unfixable = ["F401"]
ignore = [
"A005",
"ANN002",
"ANN003",
"ARG001",
"ARG002",
"D105",
"D203",
"D213",
"FBT001",
"FBT002",
"PERF401",
"PGH003",
"PLR2004",
"SIM102",
]
[tool.ruff.lint.per-file-ignores]
"config.py" = ["D401"]
"src/mkapi/plugin.py" = ["D"]
"tests/*" = ["ANN", "ARG", "D", "FBT", "PLR", "RUF", "S"]