-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/spacetelescope/rad into RAD…
…-160_FY24Docs
- Loading branch information
Showing
16 changed files
with
119 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added null values to allowed APCORR and ABVEGAOFFSET keyword values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Bump min Python to 3.11 per SPEC 0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
name = "rad" | ||
description = "Roman Attribute Dictionary" | ||
requires-python = ">=3.10" | ||
requires-python = ">=3.11" | ||
authors = [ | ||
{ name = "STScI", email = "[email protected]" }, | ||
] | ||
|
@@ -12,7 +12,7 @@ classifiers = [ | |
"Programming Language :: Python :: 3", | ||
] | ||
dependencies = [ | ||
"asdf >=2.14.2", | ||
"asdf >=2.15.2", | ||
"asdf-astropy >=0.5.0", | ||
] | ||
dynamic = [ | ||
|
@@ -28,8 +28,8 @@ file = "LICENSE" | |
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest>=4.6.0", | ||
"pytest-doctestplus>=0.11.1", | ||
"pytest>=7.0.0", | ||
"pytest-doctestplus>=1.2.1", | ||
"crds>=11.16.16", | ||
] | ||
docs = [ | ||
|
@@ -41,7 +41,6 @@ docs = [ | |
"graphviz", | ||
"matplotlib", | ||
"docutils", | ||
"tomli; python_version <\"3.11\"", | ||
"importlib-metadata", | ||
"towncrier", | ||
] | ||
|
@@ -57,7 +56,6 @@ rad = "rad.integration:get_resource_mappings" | |
requires = [ | ||
"setuptools >=61", | ||
"setuptools_scm[toml] >=3.4", | ||
"wheel", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
@@ -77,34 +75,48 @@ where = [ | |
] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = 4.6 | ||
minversion = 7.0 | ||
doctest_plus = true | ||
doctest_rst = true | ||
text_file_format = "rst" | ||
addopts = "--show-capture=no" | ||
log_cli_level = "INFO" | ||
xfail_strict = true | ||
addopts = [ | ||
"--color=yes", # color test output | ||
"--doctest-rst", # enable doctests | ||
"--strict-config", # fail on unknown config options | ||
"--strict-markers", # fail on unknown markers | ||
"-ra", # Show summary of all failures/errors | ||
] | ||
testpaths = [ | ||
"tests", | ||
"src/rad/resources/schemas", | ||
] | ||
filterwarnings = [ | ||
"error::ResourceWarning", | ||
"error", | ||
] | ||
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 = "^/(\n (\n \\.eggs\n | \\.git\n | \\.pytest_cache\n | \\.tox\n )/\n)\n" | ||
|
||
[tool.ruff] | ||
line-length = 130 | ||
|
||
[tool.ruff.lint] | ||
extend-select = [ | ||
"UP", # PyUpgrade | ||
"I", # isort | ||
"B", # BugBear | ||
"S", # Bandit | ||
"RUF", # ruff specific | ||
"NPY", # numpy specific | ||
] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"tests/**.py" = [ | ||
"S101" # Bandit: Use of assert detected (fine in test files) | ||
] | ||
|
||
[tool.codespell] | ||
skip = "*.pdf,*.fits,*.asdf,.tox,build,./tags,.git,docs/_build" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.