-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
110 lines (97 loc) · 2.56 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
102
103
104
105
106
107
108
109
110
[project]
name = 'asdf_standard'
description = 'The ASDF Standard schemas'
readme = 'README.md'
requires-python = '>=3.9'
license = { file = 'LICENSE' }
authors = [{ name = 'The ASDF Developers', email = '[email protected]' }]
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Development Status :: 5 - Production/Stable',
]
dependencies = [
]
dynamic = ['version']
[project.optional-dependencies]
docs = [
'tomli',
'sphinx >= 4.0',
'sphinx-asdf >= 0.1.3',
'graphviz',
'matplotlib',
'docutils',
'sphinx-rtd-theme > 1.2.0',
]
test = [
'pytest',
'pyyaml',
'asdf >= 3.0.0',
'packaging>=16.0',
]
[project.urls]
'tracker' = 'https://github.com/asdf-format/asdf-standard/issues'
'documentation' = 'https://asdf-standard.readthedocs.io/en/stable'
'repository' = 'https://github.com/asdf-format/asdf-standard'
[project.entry-points]
'asdf.resource_mappings' = { asdf_standard = 'asdf_standard.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/asdf_standard/_version.py"
[tool.setuptools]
packages = ["asdf_standard", "asdf_standard.resources"]
[tool.setuptools.package-data]
"asdf_standard.resources" = ["resources/**/*.yaml"]
[tool.setuptools.package-dir]
"" = "src"
"asdf_standard.resources" = "resources"
[tool.pytest.ini_options]
asdf_schema_root = 'resources/schemas'
asdf_schema_skip_tests = """
stsci.edu/asdf/asdf-schema-1.0.0.yaml
stsci.edu/asdf/wcs/celestial_frame-1.0.0.yaml
stsci.edu/asdf/wcs/celestial_frame-1.1.0.yaml
stsci.edu/asdf/wcs/frame-1.0.0.yaml
stsci.edu/asdf/wcs/frame-1.1.0.yaml
stsci.edu/asdf/wcs/spectral_frame-1.1.0.yaml
stsci.edu/asdf/wcs/step-1.1.0.yaml
stsci.edu/asdf/wcs/step-1.2.0.yaml
stsci.edu/asdf/wcs/wcs-1.1.0.yaml
stsci.edu/asdf/wcs/wcs-1.2.0.yaml
stsci.edu/yaml-schema/draft-01.yaml
"""
asdf_schema_tests_enabled = 'true'
asdf_schema_ignore_unrecognized_tag = 'true'
addopts = '--color=yes'
[tool.black]
line-length = 120
force-exclude = '''
^/(
(
\.eggs
| \.git
| \.pytest_cache
| \.tox
| reference_files
| build
| dist
)/
)
'''
[tool.isort]
profile = "black"
filter_files = true
line_length = 120
[tool.ruff]
line-length = 120
[tool.codespell]
skip="*.pdf,*.fits,*.asdf,.tox,build,./tags,.git,docs/build"