Specifying coverage config for tox
@@ -48,7 +48,7 @@ commands =
pip freeze
# FIXME: there are too many failures in the docs example gallery, ignore it for now
!cov: pytest --pyargs astroquery {toxinidir}/docs --ignore={toxinidir}/docs/gallery* {posargs}
- cov: pytest --pyargs astroquery {toxinidir}/docs --ignore={toxinidir}/docs/gallery* --cov astroquery {posargs}
+ cov: pytest --pyargs astroquery {toxinidir}/docs --ignore={toxinidir}/docs/gallery* --cov astroquery --cov-config={toxinidir}/setup.cfg {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml
[testenv:codestyle]
