File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ show-response = 1
16
16
minversion = 6.0
17
17
norecursedirs = build docs/_build docs/gallery-examples
18
18
doctest_plus = enabled
19
+ astropy_header = true
19
20
text_file_format = rst
20
21
xfail_strict = true
21
22
remote_data_strict = true
23
+ addopts = --doctest-rst
22
24
filterwarnings =
23
25
error
24
26
ignore: Experimental:UserWarning:
Original file line number Diff line number Diff line change @@ -44,10 +44,9 @@ extras =
44
44
45
45
commands =
46
46
pip freeze
47
- # FIXME: there are too many failures from the docs example gallery ignore docs for now
48
- # !cov: pytest {toxinidir}/astroquery {toxinidir}/docs {posargs}
49
- !cov: pytest --pyargs astroquery {posargs}
50
- cov: pytest --pyargs astroquery --cov astroquery {posargs}
47
+ # FIXME: there are too many failures in the docs example gallery, ignore it for now
48
+ !cov: pytest --pyargs astroquery {toxinidir}/docs --ignore ={toxinidir}/docs/gallery* {posargs}
49
+ cov: pytest --pyargs astroquery {toxinidir}/docs --ignore ={toxinidir}/docs/gallery* --cov astroquery {posargs}
51
50
cov: coverage xml -o {toxinidir}/coverage.xml
52
51
53
52
[testenv:codestyle]
You can’t perform that action at this time.
0 commit comments