1+ [project ]
2+ name = " sphinx-asdf"
3+ description = " Sphinx plugin for generating documentation from ASDF schemas"
4+ readme = ' README.rst'
5+ license = { file = ' LICENSE' }
6+ authors = [{ name = ' The ASDF Developers' , email = ' help@stsci.edu' }]
7+ requires-python = ' >=3.9'
8+ classifiers = [
9+ ' Development Status :: 5 - Production/Stable' ,
10+ " License :: OSI Approved :: BSD License" ,
11+ ' Programming Language :: Python' ,
12+ ' Programming Language :: Python :: 3' ,
13+ ' Programming Language :: Python :: 3.9' ,
14+ ' Programming Language :: Python :: 3.10' ,
15+ ' Programming Language :: Python :: 3.11' ,
16+ ' Programming Language :: Python :: 3.12' ,
17+ ]
18+ dynamic = [
19+ ' version' ,
20+ ]
21+ dependencies = [
22+ " asdf" ,
23+ " astropy>=5.0.4" ,
24+ " docutils" ,
25+ " mistune>=3" ,
26+ " packaging" ,
27+ " sphinx" ,
28+ " sphinx-astropy" ,
29+ " sphinx_bootstrap_theme" ,
30+ " sphinx-rtd-theme" ,
31+ " toml" ,
32+
33+ ]
34+ [project .optional-dependencies ]
35+ tests = [
36+ " pytest" ,
37+ ]
38+ [project .urls ]
39+ 'documentation' = ' https://sphinx-asdf.readthedocs.io/en/stable'
40+ 'repository' = ' https://github.com/asdf-format/sphinx-asdf'
41+ 'tracker' = ' https://github.com/asdf-format/sphinx-asdf/issues'
42+
43+ [tool .setuptools .packages .find ]
44+ include = [' sphinx_asdf*' ]
45+
146[build-system ]
247requires = [" setuptools>=42" , " setuptools_scm[toml]>=3.4" , " wheel" ]
348build-backend = " setuptools.build_meta"
@@ -20,5 +65,26 @@ force-exclude = '''
2065
2166[tool .isort ]
2267profile = " black"
23- filter_files = true
24- line_length = 120
68+ filter-files = true
69+ line-length = 120
70+
71+ [tool .ruff ]
72+ target-version = " py38"
73+ line-length = 120
74+ select = [
75+ # minimal set to match pre-ruff behavior
76+ " E" , # pycodestyle
77+ " F" , # pyflakes, autoflake
78+ " I" , # isort
79+ " S" , # bandit
80+ " UP" , # pyupgrade
81+ " RUF" , # ruff specific, includes yesqa
82+ ]
83+ extend-ignore = [
84+ " F403" , " F405" , # uses if import * should be removed
85+ " S101" , # asserts used in tests
86+ " RUF012" , # we don't use typing
87+ ]
88+
89+ [tool .codespell ]
90+ skip =" *.pdf,*.asdf,.tox,build,./tags,.git,docs/_build"
0 commit comments