Skip to content

Commit

Permalink
cleanup config files to write all reports to _build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel authored and Michael Howitz committed May 17, 2018
1 parent c158b20 commit 8b9af72
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/.mr.developer.cfg
/_build/
/bin/
/build/
/_build/
/develop-eggs/
/dist/
/eggs/
Expand All @@ -24,7 +24,6 @@
/lib/
/local/
/parts/
/reports/
/sdist/
/share/
/src-mrd/
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ omit =
precision = 2

[coverage:html]
directory = reports/coverage
directory = _build/coverage
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extras =
test

commands =
pytest --cov=src --cov-report=xml --html=reports/pytest/report-{envname}.html --doctest-glob=*.rst --self-contained-html {posargs}
pytest --cov=src --cov-report=xml --html=_build/pytest/report-{envname}.html --doctest-glob=*.rst --self-contained-html {posargs}

setenv =
COVERAGE_FILE=.coverage.{envname}
Expand Down Expand Up @@ -117,9 +117,9 @@ deps =
#flake8-quotes

commands =
mkdir -p {toxinidir}/reports/flake8
mkdir -p {toxinidir}/_build/flake8
isort --check-only --recursive {toxinidir}/src {toxinidir}/tests setup.py
- flake8 --format=html --htmldir={toxinidir}/reports/flake8 --doctests src tests setup.py
- flake8 --format=html --htmldir={toxinidir}/_build/flake8 --doctests src tests setup.py
flake8 src tests setup.py --doctests

whitelist_externals =
Expand All @@ -146,8 +146,8 @@ deps =

commands =
python -V
sphinx-build -b html -d build/docs/doctrees docs build/docs/html
sphinx-build -b doctest docs build/docs/doctrees
sphinx-build -b html -d _build/docs/doctrees docs _build/docs/html
sphinx-build -b doctest docs _build/docs/doctrees

[testenv:release]
skip_install = true
Expand Down

0 comments on commit 8b9af72

Please sign in to comment.