Migrate to flake8.
Fixes bug 1172444. Change-Id: Icd51f5d925d84dcec7df7c83ca43cd87bc1b090f
This commit is contained in:
@@ -69,9 +69,9 @@ SERVICE_CATALOG = {
|
|||||||
"versionInfo": "https://compute.north.host/v1.1/",
|
"versionInfo": "https://compute.north.host/v1.1/",
|
||||||
"versionList": "https://compute.north.host/"}
|
"versionList": "https://compute.north.host/"}
|
||||||
],
|
],
|
||||||
"endpoints_links":[{
|
"endpoints_links": [{
|
||||||
"rel":"next",
|
"rel": "next",
|
||||||
"href":"https://identity.north.host/v2.0/"
|
"href": "https://identity.north.host/v2.0/"
|
||||||
"endpoints?marker=2"
|
"endpoints?marker=2"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git shortlog -se | cut -c8-
|
|
@@ -1,11 +1,16 @@
|
|||||||
distribute>=0.6.24
|
distribute>=0.6.24
|
||||||
|
|
||||||
|
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||||
|
pep8==1.4.5
|
||||||
|
pyflakes==0.7.2
|
||||||
|
flake8==2.0
|
||||||
|
hacking>=0.5.3,<0.6
|
||||||
|
|
||||||
coverage
|
coverage
|
||||||
fixtures
|
fixtures
|
||||||
keyring
|
keyring
|
||||||
mock
|
mock
|
||||||
mox
|
mox
|
||||||
pep8==1.3.3
|
|
||||||
pycrypto
|
pycrypto
|
||||||
sphinx>=1.1.2
|
sphinx>=1.1.2
|
||||||
testrepository>=0.0.13
|
testrepository>=0.0.13
|
||||||
|
8
tox.ini
8
tox.ini
@@ -14,7 +14,8 @@ deps = -r{toxinidir}/tools/pip-requires
|
|||||||
commands = python setup.py testr --testr-args='{posargs}'
|
commands = python setup.py testr --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = pep8 --repeat --show-source --ignore=E711,E712,E125,E126 --exclude=.venv,.tox,dist,doc,*egg .
|
commands =
|
||||||
|
flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@@ -24,3 +25,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore = E711,E712,E125,E126,F,H
|
||||||
|
show-source = True
|
||||||
|
exclude = .venv,.tox,dist,doc,*egg
|
||||||
|
Reference in New Issue
Block a user