Skip to content

Commit

Permalink
Changing the coverage integration setup, to keep using the .coverager…
Browse files Browse the repository at this point in the history
…c file until I find a proper way to use it, allowing the omit lines.
  • Loading branch information
sebastian-code committed Nov 15, 2017
1 parent 656e067 commit fb64730
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[tool:pytest]
DJANGO_SETTINGS_MODULE=bootcamp.settings
python_files=tests.py test_*.py *_tests.py
addopts=--cov=bootcamp --cov-config setup.cfg
addopts=--cov=bootcamp --cov-config .coveragerc

[coverage:run]
source=accountant/*
omit=*/migrations/*,*/tests/*
plugins=django_coverage_plugin
# [coverage:run]
# source=accountant/*
# omit=*/migrations/*,*/tests/*
# plugins=django_coverage_plugin

[flake8]
max-line-length=80
Expand Down

0 comments on commit fb64730

Please sign in to comment.