Skip to content

Commit

Permalink
Merge branch '31-fix-coverage'
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Nov 22, 2018
2 parents b79d754 + eb6285c commit d25de41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
omit =
./{{ cookiecutter.pkg_name }}/_version.py
./{{ cookiecutter.pkg_name }}/__init__.py
./{{ cookiecutter.pkg_name }}/__main__.py
./{{ cookiecutter.pkg_name }}/__main__.py
./{{ cookiecutter.pkg_name }}/ui/{{ cookiecutter.pkg_name }}_command_line.py
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ deps=-rrequirements-dev.txt
whitelist_externals=coverage,pip
# See .coveragerc for list of omitted files
commands = coverage erase
coverage run -a --source ./{{ cookiecutter.pkg_name }} --omit {{cookiecutter.pkg_name}}/ui/{{cookiecutter.pkg_name}}_command_line.py -m pytest
coverage run -a --source ./{{ cookiecutter.pkg_name }} -m pytest
coverage report -m

[testenv:lint]
Expand Down

0 comments on commit d25de41

Please sign in to comment.