forked from spacetelescope/rad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (89 loc) · 2.14 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
[project]
name = 'rad'
description = 'Roman Attribute Dictionary'
readme = { file = 'README.md', content-type = 'text/markdown' }
requires-python = '>=3.6'
license = { file = 'LICENSE' }
authors = [{ name = 'STScI', email = 'help@stsci.edu' }]
classifiers = [
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
]
dependencies = [
'asdf >=2.14.2',
'asdf-astropy >=0.4.0',
]
dynamic = ['version']
[project.optional-dependencies]
test = [
'pytest>=4.6.0',
'pytest-openfiles>=0.5.0',
'pytest-doctestplus>=0.11.1',
]
docs = [
'sphinx',
'sphinx-asdf>=0.1.3',
'sphinx-astropy',
'astropy>=5.0.4',
'graphviz',
'matplotlib',
'docutils',
'stsci-rtd-theme',
'tomli; python_version <"3.11"',
'importlib-metadata',
]
[project.urls]
'Bug Tracker' = 'https://github.com/spacetelescope/rad/issues'
'Source Code' = 'https://github.com/spacetelescope/rad'
[project.entry-points]
'asdf.resource_mappings' = { 'rad' = 'rad.integration:get_resource_mappings' }
[build-system]
requires = ["setuptools >=61", "setuptools_scm[toml] >=3.4", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/rad/_version.py"
[tool.setuptools.packages.find]
where = ['src']
[tool.package-data]
'rad.resources' = [
'manifests/*.yaml',
'schemas/*.yaml',
'schemas/**/*.yaml',
]
[tool.pytest.ini_options]
minversion = 4.6
doctest_plus = true
doctest_rst = true
text_file_format = 'rst'
addopts = '--show-capture=no --open-files'
testpaths = [
'tests',
'src/rad/resources/schemas',
]
asdf_schema_tests_enabled = 'true'
asdf_schema_skip_tests = 'src/rad/resources/schemas/rad_schema-1.0.0.yaml'
asdf_schema_root = 'src/rad/resources/schemas'
[tool.isort]
profile = "black"
filter_files = true
line_length = 130
[tool.black]
line-length = 130
force-exclude = '''
^/(
(
\.eggs
| \.git
| \.pytest_cache
| \.tox
)/
)
'''
[tool.ruff]
line-length = 130
[tool.codespell]
skip="*.pdf,*.fits,*.asdf,.tox,build,./tags,.git,docs/_build"
# ignore-words-list="""
# """