-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
101 lines (89 loc) · 1.9 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
101
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hawkmoth"
dynamic = ["version"]
description = "Hawkmoth - Sphinx Autodoc for C"
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "BSD-2-Clause"}
requires-python = "~=3.9"
authors = [
{name = "Jani Nikula", email = "jani@nikula.org"},
]
keywords = [
"autodoc",
"c",
"documentation",
"python",
"sphinx",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Documentation",
]
dependencies = [
"sphinx >= 3",
]
[project.optional-dependencies]
dev = [
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-xdist",
"restructuredtext_lint",
"strictyaml",
"types-docutils",
]
[project.scripts]
hawkmoth = "hawkmoth.__main__:main"
[project.urls]
Homepage = "https://github.com/jnikula/hawkmoth"
Documentation = "https://jnikula.github.io/hawkmoth/stable/"
[tool.hatch.version]
path = "src/hawkmoth/VERSION"
pattern = "(?P<version>[a-zA-Z0-9._-]*)"
[tool.hatch.build.targets.sdist]
include = [
"/setup.py",
"/src",
]
exclude = [
"**/Makefile*",
]
[tool.hatch.build.targets.wheel]
exclude = [
"**/Makefile*",
]
[tool.mypy]
mypy_path = "src:."
packages = [
"hawkmoth",
"test",
]
exclude = "(test/conf\\.py)"
[[tool.mypy.overrides]]
module = "test.*"
follow_imports = "skip"
[[tool.mypy.overrides]]
module = "clang.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "strictyaml.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
markers = [
"full",
]
testpaths = [
"test",
]