-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
106 lines (99 loc) · 2.66 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
[build-system]
requires = ["flit_core>=3.7"]
build-backend = "flit_core.buildapi"
# project metadata
[project]
name = "sphinxcontrib-jsmath"
description = """sphinxcontrib-jsmath is a sphinx extension which renders \
displayed maths in HTML via JavaScript"""
readme = "README.rst"
urls.Changelog = "https://github.com/sphinx-doc/sphinxcontrib-jsmath/blob/master/CHANGES.rst"
urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-jsmath/"
urls.Download = "https://pypi.org/project/sphinxcontrib-jsmath/"
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 = []
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
]
lint = [
"ruff==0.5.5",
"mypy",
"types-docutils",
]
standalone = [
"Sphinx>=5",
]
[[project.authors]]
name = "Georg Brandl"
email = "georg@python.org"
[tool.flit.module]
name = "sphinxcontrib.jsmath"
[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",
]