Add coverage to ranger-agent

- Add coverage for to ranger-agent
- Include additional pep8 checks

Change-Id: I4cb8283350562ebf2c4b61770c104abb1303b666
This commit is contained in:
Michael Glaser 2017-08-15 13:46:15 -07:00
parent 2e01369ed9
commit e73b9dd108
2 changed files with 10 additions and 2 deletions

8
.coveragerc Normal file
View File

@ -0,0 +1,8 @@
[run]
branch = True
source = ord
omit = ord/tests/*
cover_pylib = True
[report]
ignore_errors = True

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.0
#Removed py34 & pypy until pep8 issues can be dealt with
#Removed py35 and pypy not included for now.
envlist = py27,pep8
skipsdist = True
@ -35,6 +35,6 @@ commands = oslo_debug_helper {posargs}
[flake8]
show-source = True
ignore = H301,F821,H202,H101,H104,H238,H401,H405,E501,F811,F403,H233,F841
ignore = F841,H101,H405
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build