fix setup and add tox with pep8
This commit is contained in:
parent
013f67b941
commit
82a19ce559
|
@ -1,4 +1,5 @@
|
|||
.idea
|
||||
*.egg-info
|
||||
dist
|
||||
*.pyc
|
||||
*.pyc
|
||||
.tox
|
||||
|
|
4
setup.py
4
setup.py
|
@ -17,7 +17,7 @@ requirements = [
|
|||
'nose==1.3.0',
|
||||
'oslo.config==1.1.1',
|
||||
'paramiko==1.10.1',
|
||||
'pbr==0.5.17',
|
||||
'pbr>=0.5.21,<1.0',
|
||||
'pika==0.9.13',
|
||||
'prettytable==0.7.2',
|
||||
'pyOpenSSL==0.13',
|
||||
|
@ -37,7 +37,7 @@ requirements = [
|
|||
'testresources==0.2.7',
|
||||
'warlock==1.0.1',
|
||||
'wsgiref==0.1.2',
|
||||
'yaml==3.10'
|
||||
'pyyaml==3.10'
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# Tox (http://tox.testrun.org/) is a tool for running tests
|
||||
# in multiple virtualenvs. This configuration file will run the
|
||||
# test suite on all supported python versions. To use it, "pip install tox"
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = pep8
|
||||
|
||||
[testenv:pep8]
|
||||
deps = pep8
|
||||
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
|
Loading…
Reference in New Issue