Switch to flake8 from pep8.
Change-Id: Ib7e1e51e644dbdfc530a7c5ca3005dd73ffa3f79
This commit is contained in:
parent
254da41997
commit
3be868a923
1
setup.py
1
setup.py
@ -20,6 +20,7 @@ from setuptools.command.install import install
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
version = None
|
||||
# version comes from git-review.
|
||||
savename = __name__
|
||||
__name__ = "not-main"
|
||||
|
10
tox.ini
10
tox.ini
@ -5,9 +5,15 @@ envlist = py26,py27,pep8
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
||||
[testenv:pep8]
|
||||
deps = pep8==1.3.1
|
||||
deps = flake8
|
||||
argparse
|
||||
commands = pep8 --ignore=E125 --repeat --show-source setup.py git-review
|
||||
commands = flake8
|
||||
|
||||
[testenv:sdist]
|
||||
commands = python setup.py sdist {posargs}
|
||||
|
||||
[flake8]
|
||||
ignore = E125
|
||||
show-source = True
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
filename = git-review,setup.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user