-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (79 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
88 lines (79 loc) · 1.75 KB
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
[build-system]
requires = [
"setuptools>=80",
"setuptools_scm[simple]>=8"
]
build-backend = 'setuptools.build_meta'
[project]
name = "astropy-sphinx-theme"
dynamic = ["version"]
description = "The sphinx theme for Astropy and affiliated packages."
readme = "README.rst"
license = "BSD-3-Clause"
license-files = ["LICENSE.rst"]
authors = [{name = "The Astropy Developers", email = "astropy.team@gmail.com"}]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
]
urls = {Homepage = "https://github.com/astropy/astropy-sphinx-theme"}
requires-python = ">=3.10"
dependencies = [
"sphinx>6",
"sunpy-sphinx-theme>=2.1.1",
]
[dependency-groups]
dev = [ { include-group = "test" } ]
test = [
"pytest>=9",
"packaging",
]
docs = [
"sphinx",
]
# Keeping this around for backwards compat
[project.optional-dependencies]
test = [
"packaging",
"pytest>=9",
]
docs = [
"sphinx",
]
[project.entry-points."sphinx.html_themes"]
"bootstrap-astropy" = "astropy_sphinx_theme.bootstrap_astropy"
"astropy-unified" = "astropy_sphinx_theme.astropy_unified"
[tool.setuptools.packages.find]
include = ["astropy_sphinx_theme*"]
[tool.pytest]
minversion = "9.0"
testpaths = ["astropy_sphinx_theme"]
xfail_strict = true
log_level = "INFO"
addopts = [
"-ra",
"--strict-config",
"--strict-markers",
]
filterwarnings = ["error"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"UP",
]
[tool.repo-review]
ignore = [
"MY", # No typing
"PC140", # No typing
"PY007", # No tox
"PY005", # I will put my test folder where I like, thank you.
"PC111", # I shall have not-black docs
# TODO: Add docs
"RTD",
]