Skip to content

Commit

Permalink
clear options
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Apr 28, 2021
1 parent 5bcdad0 commit d735c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ astropy_header = true
doctest_plus = enabled
doctest_rst = true
text_file_format = rst
addopts = --doctest-rst --doctest-ignore-import-errors --import-mode append
addopts = --import-mode append
xfail_strict = true
filterwarnings =
ignore:can't resolve package from __spec__
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ extras =

commands =
pip freeze
!cov: pytest --pyargs synphot {toxinidir}/docs {posargs}
# FIXME: Seems like using -c option with multiline Pytest is broken: see
# https://github.com/tox-dev/tox-travis/issues/146
# at the very least on CI - it runs fine locally on MacOSX.
cov: pytest --rootdir={toxinidir} -c {toxinidir}/setup.cfg --pyargs synphot --cov={envsitepackagesdir}/synphot --cov-config={toxinidir}/setup.cfg {posargs} --cov-report xml:{toxinidir}/coverage.xml
!cov: pytest -c {toxinidir}/setup.cfg --pyargs synphot --rootdir={toxinidir} {posargs}
cov: pytest -c {toxinidir}/setup.cfg --pyargs synphot --rootdir={toxinidir} {posargs} --cov={envsitepackagesdir}/synphot --cov-config={toxinidir}/setup.cfg --cov-report xml:{toxinidir}/coverage.xml

[testenv:codestyle]
skip_install = true
Expand Down

0 comments on commit d735c8c

Please sign in to comment.