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
|
@ -46,3 +46,4 @@ _build/
|
|||
*.mo
|
||||
.vagrant/
|
||||
gnuviechadmin/assets/
|
||||
coverage-report/
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue