-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
133 lines (122 loc) · 3.15 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
[build-system]
requires = ["flit_core>=3.7"]
build-backend = "flit_core.buildapi"
# project metadata
[project]
name = "sphinxcontrib-websupport"
description = """sphinxcontrib-websupport provides a Python API to easily \
integrate Sphinx documentation into your Web application"""
readme = "README.rst"
urls.Changelog = "https://github.com/sphinx-doc/sphinxcontrib-websupport/blob/master/CHANGES.rst"
urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-websupport/"
urls.Download = "https://pypi.org/project/sphinxcontrib-websupport/"
urls.Homepage = "https://www.sphinx-doc.org/"
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues/"
license.text = "BSD-2-Clause"
requires-python = ">=3.9"
# Classifiers list: https://pypi.org/classifiers/
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Framework :: Sphinx",
"Framework :: Sphinx :: Extension",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Text Processing",
"Topic :: Utilities",
]
dependencies = [
"jinja2",
"Sphinx>=5",
"sphinxcontrib-serializinghtml",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
]
whoosh = [
"sqlalchemy",
"whoosh",
]
lint = [
"ruff==0.5.5",
"mypy",
"types-docutils",
]
[[project.authors]]
name = "Georg Brandl"
email = "georg@python.org"
[project.entry-points]
"sphinx.builders".websupport = "sphinxcontrib.websupport.builder:WebSupportBuilder"
[tool.flit.module]
name = "sphinxcontrib.websupport"
[tool.flit.sdist]
include = [
"CHANGES.rst",
"LICENCE.rst",
# Tests
"tests/",
"tox.ini",
]
[tool.mypy]
python_version = "3.9"
packages = [
"sphinxcontrib",
"tests",
]
exclude = [
"tests/roots",
]
check_untyped_defs = true
#disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
#disallow_untyped_calls = true
disallow_untyped_decorators = true
#disallow_untyped_defs = true
explicit_package_bases = true
extra_checks = true
no_implicit_reexport = true
show_column_numbers = true
show_error_context = true
strict_optional = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
enable_error_code = [
"type-arg",
"redundant-self",
"truthy-iterable",
"ignore-without-code",
"unused-awaitable",
]
[[tool.mypy.overrides]]
module = [
"sqlalchemy",
"sqlalchemy.orm",
"sqlalchemy.sql",
"whoosh",
"whoosh.analysis",
"whoosh.fields",
"whoosh.qparser",
"xapian",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
markers = [
"support",
]