-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
169 lines (150 loc) · 4.24 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
## =====================================================================================
## C O P Y R I G H T
## -------------------------------------------------------------------------------------
## Copyright (c) 2023 by Robert Bosch GmbH. All rights reserved.
##
## Author(s):
## - Markus Braun, :em engineering methods AG (contracted by Robert Bosch GmbH)
## =====================================================================================
[tool.poetry]
name = "doxysphinx"
version = "3.3.12"
description = "Integrates doxygen html documentation with sphinx."
authors = [
"Nirmal Sasidharan <[email protected]>",
"Markus Braun <[email protected]>",
"Aniket Salve <[email protected]>",
]
maintainers = ["Nirmal Sasidharan <[email protected]>"]
license = "MIT"
homepage = "https://github.com/boschglobal/doxysphinx"
repository = "https://github.com/boschglobal/doxysphinx"
documentation = "https://boschglobal.github.io/doxysphinx/"
readme = "README.md"
keywords = ["DaC", "docs-as-code", "doxygen", "sphinx"]
classifiers = [
"Framework :: Sphinx :: Extension",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Pre-processors",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: reStructuredText",
"Topic :: Documentation :: Sphinx",
"Topic :: Documentation",
]
packages = [{ include = "doxysphinx" }]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
lxml = ">=4.9.2,<=5.2.1"
colorama = { version = "^0.4.6", platform = "windows" }
click = "^8.1.3"
click-log = "^0.4.0"
pyparsing = "^3.0.9"
mpire = "^2.6.0"
pyjson5 = "^1.6.2"
libsass = "^0.22.0"
numpy = "^1.26.4" # Adding this version of numpy to support python 3.12
matplotlib = "^3.8.4"
[tool.poetry.group.sphinx.dependencies]
sphinx = "<=7.3.7"
pillow = "^10.0.1"
sphinx-rtd-theme = "<=2.0.0"
sphinx-needs = "<=2.0.0"
sphinxcontrib-plantuml = "^0.26"
sphinxcontrib-doxylink = "^1.12.2"
sphinx-test-reports = "^1.0.2"
sphinx-theme = "^1.0"
sphinx-copybutton = "^0.5.2"
sphinx-book-theme = "^1.0.1"
myst-parser = ">=2.0.0,<=3.0.1"
toml = "^0.10.2"
sphinx-design = "^0.5.0"
sphinx-toolbox = "^3.5.0"
sphinx-autoapi = "^3.0.0"
[tool.poetry.group.typedefs.dependencies]
lxml-stubs = "^0.4.0"
types-pyyaml = "^6.0.12.2"
# ci build dependencies
[tool.poetry.group.ci]
optional = true
[tool.poetry.group.ci.dependencies]
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
pytest-emoji = "^0.2.0"
pytest-md = "^0.2.0"
pex = "^2.1.131"
pre-commit = "^3.2.2"
commitizen = "^2.42.1"
[tool.poetry.scripts]
doxysphinx = "doxysphinx.cli:cli"
[tool.commitizen]
name = "cz_conventional_commits"
version = "3.3.12"
tag_format = "v$version"
version_files = ["pyproject.toml:^version"]
bump_message = """chore(release): release $current_version → $new_version by commitizen [skip-ci]
Signed-off-by: github-actions <[email protected]>
"""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
log_level = "DEBUG"
testpaths = ["tests"]
junit_logging = "out-err"
markers = ["speed: manual speed tests"]
addopts = "-m 'not speed'"
[tool.black]
line-length = 120
target-version = ['py38']
# black doesn't need further excludes because it honors the .gitignore file
extend-exclude = "(docs/)|(demo/)|(\\.vscode)|(\\.idea)|(\\.devcontainer)"
[tool.isort]
profile = "black"
[tool.bandit]
exclude_dirs = [
".git",
".build",
".devcontainer",
".github",
".idea",
".package",
".pytest_cache",
"__pycache__",
".venv",
".vscode",
"dist",
"docs",
"demo",
"tests",
]
[tool.bandit.assert_used]
skips = ["*/test_*.py"]
[tool.mypy]
python_version = 3.8
show_error_codes = true
ignore_missing_imports = true
[tool.pydocstyle]
match_dir = "doxysphinx"
ignore = "D301,D213,D212,D203"
[tool.pylint]
disable = ["logging-fstring-interpolation"]
extension-pkg-allow-list = ["lxml", "mpire"]
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pyright]
exclude = [
".build",
".cache",
".devcontainer",
".github",
".idea",
".mypy_cache",
".pytest_cache",
".venv",
".vscode",
"demo",
"dist",
"docs",
"external",
]