-
Notifications
You must be signed in to change notification settings - Fork 69
/
pyproject.toml
54 lines (46 loc) · 1.39 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
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[project]
name = "sphinx-multiversion"
dynamic = ["version", "dependencies"]
description = "Add support for multiple versions to sphinx"
readme = "README.md"
license = "BSD-2-Clause"
authors = [
{ name = "Jan Holthuis", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"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",
]
[project.scripts]
sphinx-multiversion = "sphinx_multiversion:main"
[project.urls]
Homepage = "https://holzhaus.github.io/sphinx-multiversion/"
[tool.hatch.version]
path = "sphinx_multiversion/__init__.py"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
[tool.hatch.build.targets.sdist]
include = [
"/sphinx_multiversion",
]
[tool.bandit]
skips = [
# Asserts are actually fine for checking the developer's assumptions, we
# "just" mustn't rely these assert in production code.
"B101",
# We need `subprocess` module.
"B404",
# As long as we don't use `shell=True` when spawning a subprocess, this
# should be fine.
"B603",
]
[tool.ruff]
line-length = 79