-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
86 lines (77 loc) · 1.84 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sphinxcontrib-moderncmakedomain"
description = "Sphinx Domain for Modern CMake"
readme = "README.md"
keywords = [
"cmake",
"documentation",
"kitware",
"sphinx",
"sphinxcontrib",
]
authors = [
{ name = "Kitware" },
]
requires-python = ">=3.7"
classifiers = [
"Environment :: Console",
"Environment :: Web Environment",
"Framework :: Sphinx :: Domain",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = [
"sphinx>=2",
]
[project.optional-dependencies]
test = [
"defusedxml",
"pytest",
]
[project.urls]
Homepage = "https://github.com/scikit-build/moderncmakedomain"
[tool.hatch]
version.path = "sphinxcontrib/moderncmakedomain/__init__.py"
build.targets.wheel.packages = ["sphinxcontrib"]
[tool.ruff]
exclude = [
"sphinxcontrib/moderncmakedomain/cmake.py",
"sphinxcontrib/moderncmakedomain/colors.py",
]
lint.extend-select = [
"B", # flake8-bugbear
"RUF", # Ruff-specific
"I", # isort
"UP", # pyupgrade
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-ra",
"--showlocals",
"--strict-markers",
"--strict-config",
]
xfail_strict = true
filterwarnings = [
"error",
"ignore::DeprecationWarning:sphinx.builders.gettext",
]
log_cli_level = "info"
testpaths = ["tests"]