-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
90 lines (82 loc) · 2.03 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
[project]
name = "sphinx-asdf"
description = "Sphinx plugin for generating documentation from ASDF schemas"
readme = 'README.rst'
license = { file = 'LICENSE' }
authors = [{ name = 'The ASDF Developers', email = '[email protected]' }]
requires-python = '>=3.9'
classifiers = [
'Development Status :: 5 - Production/Stable',
"License :: OSI Approved :: BSD License",
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
dynamic = [
'version',
]
dependencies = [
"asdf",
"astropy>=5.0.4",
"docutils",
"mistune>=3",
"packaging",
"sphinx",
"sphinx-astropy",
"sphinx-rtd-theme",
"toml",
]
[project.optional-dependencies]
tests = [
"pytest",
"defusedxml", # sphinx.testing.fixtures requires this
]
[project.urls]
'documentation' = 'https://sphinx-asdf.readthedocs.io/en/stable'
'repository' = 'https://github.com/asdf-format/sphinx-asdf'
'tracker' = 'https://github.com/asdf-format/sphinx-asdf/issues'
[tool.setuptools.packages.find]
include = ['sphinx_asdf*']
[build-system]
requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "sphinx_asdf/_version.py"
[tool.black]
line-length = 120
force-exclude = '''
^/(
(
\.eggs
| \.git
| \.pytest_cache
| \.tox
)/
)
'''
[tool.isort]
profile = "black"
filter-files = true
line-length = 120
[tool.ruff]
target-version = "py38"
line-length = 120
select = [
# minimal set to match pre-ruff behavior
"E", # pycodestyle
"F", # pyflakes, autoflake
"I", # isort
"S", # bandit
"UP", # pyupgrade
"RUF", # ruff specific, includes yesqa
]
extend-ignore = [
"F403", "F405", # uses if import * should be removed
"S101", # asserts used in tests
"RUF012", # we don't use typing
]
[tool.codespell]
skip="*.pdf,*.asdf,.tox,build,./tags,.git,docs/_build"