Add QA tool config to setup.cfg

This commit adds configuration for coverage, pep8 and flake8 to
setup.cfg. The .coveragerc is not needed anymore and is removed.
This commit is contained in:
Jan Dittberner 2015-11-22 18:40:40 +00:00
parent 28fc535f9e
commit 78f54d0c92
2 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View file

@ -46,3 +46,4 @@ _build/
*.mo
.vagrant/
gnuviechadmin/assets/
coverage-report/

View file

@ -1,5 +1,16 @@
[run]
source = gnuviechadmin,contact_form,dashboard,domains,gvawebcore,managemails,osusers,taskresults,userdbs
[pep8]
exclude = migrations
[report]
[flake8]
exclude = migrations
[coverage:run]
source = gnuviechadmin,contact_form,dashboard,domains,gvawebcore,managemails,osusers,taskresults,userdbs
branch = True
[coverage:report]
omit = */migrations/*,*/tests/*.py,*/tests.py,gnuviechadmin/settings/local.py,gnuviechadmin/settings/production.py
show_missing = True
[coverage:html]
directory = ../coverage-report