-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
executable file
·96 lines (86 loc) · 2.52 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
[build-system]
requires = [ "setuptools", "setuptools-scm" ]
build-backend = "setuptools.build_meta"
[project]
name = "coeus-sphinx-theme"
dynamic = [ "version", "dependencies" ]
description = "A Sphinx Documentation Theme."
readme = "README.rst"
requires-python = ">=3.10"
license.file = "LICENSE"
authors = [
{ name = "Akshay Mestry", email = "[email protected]" }
]
keywords = [ "coeus", "sphinx", "python", "nasa" ]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Sphinx :: Theme",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation"
]
urls.Code = "https://github.com/xames3/coeus-sphinx-theme"
urls.Download = "https://pypi.org/project/coeus-sphinx-theme/"
urls.Homepage = "https://github.com/xames3/coeus-sphinx-theme/"
urls."Issue tracker" = "https://github.com/xames3/coeus-sphinx-theme/issues"
[project.entry-points."sphinx.html_themes"]
coeus_sphinx_theme = "coeus_sphinx_theme"
[tool.setuptools]
packages = ["coeus_sphinx_theme"]
[tool.setuptools.dynamic]
version = { attr = "coeus_sphinx_theme.theme_version" }
dependencies = { file = "requirements.txt" }
[tool.black]
line-length = 80
[tool.isort]
profile = "black"
line_length = 80
force_single_line = true
force_sort_within_sections = false
[tool.mypy]
files = ["coeus_sphinx_theme/*.py", "docs/*.py"]
show_error_codes = true
show_error_context = true
pretty = true
strict = true
show_column_numbers = true
warn_unreachable = true
warn_unused_ignores = true
warn_unused_configs = true
check_untyped_defs = true
disallow_incomplete_defs = true
ignore_missing_imports = true
disable_error_code = ["attr-defined", "index", "union-attr"]
[tool.tox]
requires = ["tox>=4"]
envlist = ["py312", "py311", "py310"]
[tool.tox.env_run_base]
description = "Linting code and running static type checking on {base_python}"
deps = [
"black",
"docutils-stubs",
"flake8",
"isort",
"mypy",
"mypy-extensions",
"types-beautifulsoup4",
"types-docutils",
"typing_extensions",
]
commands = [
["black", "-q", "coeus_sphinx_theme/"],
["flake8", "coeus_sphinx_theme/"],
["isort", "--sl", "coeus_sphinx_theme/"],
["mypy", "coeus_sphinx_theme/"],
]
[tool.tox.gh.python]
"3.13" = ["3.13", "type", "pkg_meta"]
"3.12" = ["3.12"]
"3.11" = ["3.11"]
"3.10" = ["3.10"]