-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
79 lines (72 loc) · 2.31 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
[tool.black]
line-length = 110
target-version = ["py39"]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict = true
[tool.poetry]
name = "sphinx-prompt"
version = "0.0.0"
description = "Sphinx directive to add unselectable prompt"
readme = "README.md"
authors = ["Stéphane Brunner <[email protected]>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Documentation :: Sphinx",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Typing :: Typed",
]
homepage = "https://github.com/sbrunner/sphinx-prompt"
repository = "https://github.com/sbrunner/sphinx-prompt"
license = "BSD-3-Clause"
keywords = ["sphinx", "shell", "prompt"]
packages = [
{ include = "sphinx-prompt" },
{ include = "sphinx-prompt/py.typed" },
{ include = "sphinx_prompt" },
{ include = "sphinx_prompt/py.typed" }
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
Sphinx = "8.1.3"
pygments = "2.18.0"
docutils = "0.21.2"
idna = "3.10"
urllib3 = "2.2.3"
certifi = "2024.8.30"
[tool.poetry.group.dev.dependencies]
prospector = { version = "1.12.1", extras = ["with_bandit", "with_mypy", "with_pyroma"] }
pytest = "8.3.3"
types-docutils = "0.21.0.20241005"
prospector-profile-duplicated = "1.6.0"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-plugin-tweak-dependencies-version", "poetry-dynamic-versioning", "poetry-plugin-drop-python-upper-constraint"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-plugin-tweak-dependencies-version]
default = "present"
sphinx = "major"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if env.get("VERSION_TYPE") == "version_branch" -%}
{{serialize_pep440(bump_version(base, 1 if env.get("IS_MASTER") == "TRUE" else 2), dev=distance)}}
{%- elif distance == 0 -%}
{{serialize_pep440(base)}}
{%- else -%}
{{serialize_pep440(bump_version(base), dev=distance)}}
{%- endif -%}
"""