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:
parent
28fc535f9e
commit
78f54d0c92
2 changed files with 15 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -46,3 +46,4 @@ _build/
|
||||||
*.mo
|
*.mo
|
||||||
.vagrant/
|
.vagrant/
|
||||||
gnuviechadmin/assets/
|
gnuviechadmin/assets/
|
||||||
|
coverage-report/
|
||||||
|
|
|
@ -1,5 +1,16 @@
|
||||||
[run]
|
[pep8]
|
||||||
source = gnuviechadmin,contact_form,dashboard,domains,gvawebcore,managemails,osusers,taskresults,userdbs
|
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
|
omit = */migrations/*,*/tests/*.py,*/tests.py,gnuviechadmin/settings/local.py,gnuviechadmin/settings/production.py
|
||||||
|
show_missing = True
|
||||||
|
|
||||||
|
[coverage:html]
|
||||||
|
directory = ../coverage-report
|
Loading…
Reference in a new issue