generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
121 lines (104 loc) · 2.74 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "invoke-plugin-for-sphinx"
version = "3.0.0"
description = "Sphinx plugin which can render invoke tasks with autodoc"
authors = [{ name = "Kai Harder", email = "[email protected]"}]
readme = "README.md"
keywords = ["sphinx", "invoke", "plugin", "inv", "documentation"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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 :: Documentation :: Sphinx",
"Typing :: Typed"
]
requires-python = ">=3.9,<4"
dependencies = [
"sphinx>=7,<9",
"invoke>=2.1,<3",
]
[project.license]
text = "Apache-2.0"
[project.urls]
"Issue Tracker" = "https://github.com/SAP/invoke-plugin-for-sphinx/issues"
"Changelog" = "https://github.com/SAP/invoke-plugin-for-sphinx/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pre-commit==4.0.1",
"pylint==3.3.1",
"black==24.10.0",
"isort==5.13.2",
"mypy==1.13.0",
"types-invoke==2.0.0.10",
]
test = [
"pytest==8.3.3",
"pytest-mock==3.14.0",
"pytest-cov==6.0.0",
"coverage==7.6.4",
"diff-cover==9.2.0",
]
[tool.setuptools.packages.find]
include = ["invoke_plugin_for_sphinx"]
[tool.setuptools.package-data]
invoke_plugin_for_sphinx = ["py.typed"]
[tool.isort]
profile = "black"
add_imports = ["from __future__ import annotations"]
[tool.mypy]
# main config
strict_optional = true
warn_incomplete_stub = true
warn_no_return = true
warn_unreachable = true
strict = true
warn_unused_ignores = false
# output
pretty = true
show_column_numbers = true
show_error_codes = true
show_traceback = true
[tool.pylint.basic]
no-docstring-rgx = "^_"
[tool.pylint.design]
min-public-methods = 0
[tool.pylint.master]
max-line-length = 100
py-version = [3, 8]
[tool.pylint."messages control"]
enable = ["all"]
disable = [
# allow TODO comments
"fixme",
# allow disables
"locally-disabled",
"suppressed-message",
]
[tool.pylint.reports]
reports = false
[tool.pylint.similarities]
ignore-imports = true
[tool.coverage.report]
fail_under = 90
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
[tool.diff_cover]
include_untracked = true
fail_under = 90