Merge pull request #70 from amitgandhinz/tox

Added pylint checking
This commit is contained in:
Amit Gandhi 2014-08-08 16:50:03 -04:00
commit 094dc1dd5c
3 changed files with 25 additions and 22 deletions

3
pylintrc Normal file
View File

@ -0,0 +1,3 @@
[MASTER]
errors-only=yes
ignore=openstack

View File

@ -1,23 +1,9 @@
# Metrics and style
hacking>=0.5.6,<0.8
# Packaging
mock>=1.0
# Unit Tests
ddt>=0.4.0
discover
fixtures>=0.3.14
httpretty>=0.6.3
python-subunit
testrepository>=0.0.17
testtools>=0.9.32
# Functional Tests
requests>=1.1
# Test runner
nose
nose-exclude
openstack.nose_plugin>=0.7
coverage
ddt
fixtures
hacking
mock
nose
openstack.nose_plugin
requests
testtools

14
tox.ini
View File

@ -24,6 +24,20 @@ downloadcache = ~/cache/pip
[testenv:pep8]
commands = flake8
[testenv:lint2]
basepython = python2
deps = {[testenv]deps}
pylint
commands = pylint ./poppy
pylint ./tests
[testenv:lint3]
basepython = python3
deps = {[testenv]deps}
pylint
commands = pylint ./poppy
pylint ./tests
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1