1
1
[project ]
2
- name = ' roman_datamodels'
3
- description = ' data models supporting calibration of the Nancy Grace Roman Space Telescope'
4
- readme = ' README.md'
5
- requires-python = ' >=3.9'
6
- license = { file = ' LICENSE' }
7
- authors = [{ name = ' STScI' , email = ' help@stsci.edu' }]
2
+ name = " roman_datamodels"
3
+ description = " data models supporting calibration of the Nancy Grace Roman Space Telescope"
4
+ readme = " README.md"
5
+ requires-python = " >=3.10"
6
+ authors = [
7
+ { name = " STScI" , email = " help@stsci.edu" },
8
+ ]
8
9
classifiers = [
9
- ' Intended Audience :: Science/Research' ,
10
- ' Topic :: Scientific/Engineering :: Astronomy' ,
11
- ' License :: OSI Approved :: BSD License' ,
12
- ' Programming Language :: Python :: 3' ,
10
+ " Intended Audience :: Science/Research" ,
11
+ " Topic :: Scientific/Engineering :: Astronomy" ,
12
+ " License :: OSI Approved :: BSD License" ,
13
+ " Programming Language :: Python :: 3" ,
13
14
]
14
15
dependencies = [
15
- ' asdf >=2.15.0' ,
16
- ' asdf-astropy >=0.5.0' ,
17
- ' gwcs >=0.18.1' ,
18
- ' numpy >=1.22' ,
19
- ' astropy >=5.3.0' ,
20
- # 'rad >=0.18.0',
21
- ' rad @ git+https://github.com/spacetelescope/rad.git' ,
22
- ' asdf-standard >=1.0.3' ,
16
+ " asdf >=2.15.0" ,
17
+ " asdf-astropy >=0.5.0" ,
18
+ " gwcs >=0.18.1" ,
19
+ " numpy >=1.22" ,
20
+ " astropy >=5.3.0" ,
21
+ " rad @ git+https://github.com/spacetelescope/rad.git" ,
22
+ " asdf-standard >=1.0.3" ,
23
+ ]
24
+ dynamic = [
25
+ " version" ,
23
26
]
24
- dynamic = [' version' ]
27
+
28
+ [project .license ]
29
+ file = " LICENSE"
25
30
26
31
[project .optional-dependencies ]
27
32
test = [
28
- ' pytest >=6.0.0' ,
29
- ' pytest-doctestplus' ,
30
- ' pytest-doctestplus >=0.10.0' ,
31
- ' pytest-env >= 0.8'
33
+ " pytest >=6.0.0" ,
34
+ " pytest-doctestplus" ,
35
+ " pytest-doctestplus >=0.10.0" ,
36
+ " pytest-env >= 0.8" ,
32
37
]
33
38
aws = [
34
- ' stsci-aws-utils >= 0.1.2' ,
39
+ " stsci-aws-utils >= 0.1.2" ,
35
40
]
36
41
docs = [
37
- ' sphinx' ,
38
- ' sphinx-automodapi' ,
39
- ' sphinx-rtd-theme' ,
40
- ' sphinx-astropy' ,
41
- ' tomli; python_version <"3.11" ' ,
42
+ " sphinx" ,
43
+ " sphinx-automodapi" ,
44
+ " sphinx-rtd-theme" ,
45
+ " sphinx-astropy" ,
46
+ " tomli; python_version <\ " 3.11\" " ,
42
47
]
43
48
44
49
[project .urls ]
45
- ' issues' = ' https://github.com/spacetelescope/roman_datamodels/issues'
46
- ' repository' = ' https://github.com/spacetelescope/roman_datamodels'
50
+ issues = " https://github.com/spacetelescope/roman_datamodels/issues"
51
+ repository = " https://github.com/spacetelescope/roman_datamodels"
47
52
48
- [project .entry-points ]
49
- 'asdf.extensions' = { roman_datamodels = ' roman_datamodels.stnode._integration:get_extensions' }
53
+ [project .entry-points . "asdf . extensions" ]
54
+ roman_datamodels = " roman_datamodels.stnode._integration:get_extensions"
50
55
51
56
[build-system ]
52
- requires = [" setuptools >=61" , " setuptools_scm[toml] >=3.4" , " wheel" ]
57
+ requires = [
58
+ " setuptools >=61" ,
59
+ " setuptools_scm[toml] >=3.4" ,
60
+ " wheel" ,
61
+ ]
53
62
build-backend = " setuptools.build_meta"
54
63
55
64
[tool .setuptools_scm ]
56
65
write_to = " src/roman_datamodels/_version.py"
57
66
58
67
[tool .setuptools .packages .find ]
59
- where = [' src' ]
68
+ where = [
69
+ " src" ,
70
+ ]
60
71
61
72
[tool .pytest .ini_options ]
62
73
minversion = 4.6
63
74
doctest_plus = true
64
75
doctest_rst = true
65
- text_file_format = ' rst'
66
- addopts = ' --color=yes --doctest-rst'
67
- testpaths = [' tests' ]
76
+ text_file_format = " rst"
77
+ addopts = " --color=yes --doctest-rst"
78
+ testpaths = [
79
+ " tests" ,
80
+ ]
68
81
filterwarnings = [
69
82
" error" ,
70
83
" ignore:numpy.ndarray size changed:RuntimeWarning" ,
@@ -76,18 +89,13 @@ env = [
76
89
77
90
[tool .coverage .report ]
78
91
exclude_lines = [
79
- # Have to re-enable the standard pragma
80
- ' pragma: no cover' ,
81
- # Don't complain about packages we have installed
82
- ' except ImportError' ,
83
- # Don't complain if tests don't hit assertions
84
- ' raise AssertionError' ,
85
- ' raise NotImplementedError' ,
86
- # Don't complain about script hooks
87
- ' def main\(.*\):' ,
88
- ' if __name__ == \(.*\):' ,
89
- # Don't complain if non-runnable code isn't run
90
- ' pass\n' ,
92
+ " pragma: no cover" ,
93
+ " except ImportError" ,
94
+ " raise AssertionError" ,
95
+ " raise NotImplementedError" ,
96
+ " def main\\ (.*\\ ):" ,
97
+ " if __name__ == \\ (.*\\ ):" ,
98
+ " pass\\ n" ,
91
99
]
92
100
93
101
[tool .isort ]
@@ -97,21 +105,10 @@ line_length = 130
97
105
98
106
[tool .black ]
99
107
line-length = 130
100
- force-exclude = '''
101
- ^/(
102
- (
103
- \.eggs
104
- | \.git
105
- | \.pytest_cache
106
- | \.tox
107
- )/
108
- )
109
- '''
108
+ force-exclude = " ^/(\n (\n \\ .eggs\n | \\ .git\n | \\ .pytest_cache\n | \\ .tox\n )/\n )\n "
110
109
111
110
[tool .ruff ]
112
111
line-length = 130
113
112
114
113
[tool .codespell ]
115
- skip =" *.pdf,*.fits,*.asdf,.tox,build,./tags,.git,docs/_build"
116
- # ignore-words-list="""
117
- # """
114
+ skip = " *.pdf,*.fits,*.asdf,.tox,build,./tags,.git,docs/_build"
0 commit comments