forked from boschglobal/doxysphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
144 lines (130 loc) · 3.87 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
## =====================================================================================
## C O P Y R I G H T
## -------------------------------------------------------------------------------------
## Copyright (c) 2022 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 = "2.1.10"
description = "Integrates doxygen html documentation with sphinx."
authors = [
"Nirmal Sasidharan <[email protected]>",
"Markus Braun <[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/"
keywords = ["DaC", "docs-as-code", "doxygen", "sphinx"]
classifiers = [
"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.8,<3.11"
lxml = "^4.7.1"
json5 = "^0.9.6"
colorama = { version = "^0.4.4", platform = "windows" }
click = "^8.0.0"
click-log = "^0.4.0"
[tool.poetry.dev-dependencies]
lxml-stubs = "^0.3.1"
pytest = "^7.0.0"
sphinx = "^4.4.0"
Pillow = "^9.1.1"
sphinx-rtd-theme = "^1.0.0"
sphinxcontrib-needs = "^0.7.6"
sphinxcontrib-plantuml = "^0.22"
sphinxcontrib-doxylink = "^1.11.1"
sphinx-test-reports = "^0.3.6"
sphinx-theme = "^1.0"
sphinx-copybutton = "^0.5.0"
pex = "^2.1.65"
sphinx-book-theme = "^0.2.0"
snakeviz = "^2.1.1"
myst-parser = "^0.17.0"
python-semantic-release = "^7.27.0"
pytest-cov = "^3.0.0"
pre-commit = "^2.18.1"
flake8 = "^4.0.1"
flake8-bugbear = "^22.3.23"
black = "^22.3.0"
isort = "^5.10.1"
bandit = "^1.7.4"
safety = "^1.10.3"
flake8-comprehensions = "^3.8.0"
flake8-simplify = "^0.19.2"
mypy = "^0.942"
toml = "^0.10.2"
types-PyYAML = "^6.0.5"
cohesion = "^1.0.0"
pydocstyle = "^6.1.1"
sphinx_design = "^0.1.0"
sphinx-toolbox = "^3.0.0"
pytest-md = "^0.2.0"
pytest-emoji = "^0.2.0"
[tool.poetry.scripts]
doxysphinx = "doxysphinx.cli:cli"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
log_level = "DEBUG"
testpaths = ["tests"]
junit_logging = "out-err"
[tool.semantic_release]
version_variable = ["pyproject.toml:version"]
changelog_file = "CHANGELOG.md"
branch = "main"
commit_message = """chore(release): release {version} published by python-semantic-release [skip ci]
Signed-off-by: github-actions <[email protected]>
"""
commit_author = "github-actions <[email protected]>"
# everything following is deactivated: we only want python-semantic-release to create the changelog and the version tags (because everything else is quite buggy)
upload_to_pypi = false
upload_to_release = false
build_command = false
remove_dist = false
[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"