8000 Replace sphinx_astropy sphinx extension with pytest-doctestplus by eslavich · Pull Request #6230 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace sphinx_astropy sphinx extension with pytest-doctestplus #6230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def check_sphinx_version(expected_version):
# ones.
extensions = [
'numfig',
'pytest_doctestplus.sphinx.doctestplus',
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
Expand All @@ -94,7 +95,6 @@ def check_sphinx_version(expected_version):
'sphinx_automodapi.automodsumm',
'sphinx_automodapi.autodoc_enhancements',
'sphinx_automodapi.smart_resolver',
'sphinx_astropy.ext.doctest',
'sphinx_asdf',
]

Expand Down
2 changes: 1 addition & 1 deletion jwst/ramp_fitting/tests/check_gls_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from jwst.datamodels import RampModel
from jwst.datamodels import GainModel, ReadnoiseModel

from jwst.ramp_fitting.ramp_fit import ramp_fit
from stcal.ramp_fitting import ramp_fit

import logging
log = logging.getLogger(__name__)
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,20 @@ ignore =
minversion = 4.6
norecursedirs =
docs/_build
docs/exts
jwst/timeconversion
jwst/associations/tests/data
scripts
.tox
asdf_schema_tests_enabled = true
asdf_schema_validate_default = false
asdf_schema_root = jwst/transforms/schemas jwst/datamodels/schemas
junit_family = xunit2
inputs_root = jwst-pipeline
results_root = jwst-pipeline-results
text_file_format = rst
doctest_plus = enabled
doctest_rst = enabled
addopts = --show-capture=no --open-files --report-crds-context
filterwarnings =
ignore:Models in math_functions:astropy.utils.exceptions.AstropyUserWarning
Expand Down
0