Switch from pep8 to flake8

Change-Id: I13a77aac647ca5e47d9451472aa1f79eacefe8ab
This commit is contained in:
David Shrewsbury
2013-08-14 14:39:30 -07:00
parent 5efc603fea
commit ccbc605d8b
3 changed files with 8 additions and 6 deletions

View File

@@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
import sys
import setuptools
from openstack.common import setup
from libraclient import __version__
requires = setup.parse_requirements()
tests_requires = setup.parse_requirements(['tools/test-requires'])
@@ -36,8 +36,6 @@ try:
except Exception:
pass
execfile('libraclient/__init__.py')
setuptools.setup(
name="python-libraclient",

View File

@@ -1,4 +1,4 @@
pep8
flake8
mock
sphinx>=1.1.2
testrepository>=0.0.8

View File

@@ -13,9 +13,13 @@ downloadcache = ~/cache/pip
[testenv:py27]
[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg libraclient setup.py
deps = flake8
commands = flake8
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes libraclient
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tests,build