Remove the unused coding style modules
1. Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt as they are not actually used in tests (other than pep8). 2. remove mock Change-Id: I8086b6fd925d3b48b53b3165e3802d9d94977b5f
This commit is contained in:
parent
8dd2b79cbc
commit
01767f36fe
@ -54,8 +54,6 @@ linecache2==1.0.0
|
||||
logutils==0.3.5
|
||||
Mako==1.0.7
|
||||
MarkupSafe==1.0
|
||||
mccabe==0.2.1
|
||||
mock==2.0.0
|
||||
monotonic==1.4
|
||||
mox3==0.25.0
|
||||
msgpack==0.5.6
|
||||
|
@ -2,12 +2,13 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
# Hacking already pins down pep8, pyflakes and flake8
|
||||
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
||||
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
doc8>=0.6.0 # Apache-2.0
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
osprofiler>=1.4.0 # Apache-2.0
|
||||
os-testr>=1.0.0 # Apache-2.0
|
||||
|
@ -1062,8 +1062,8 @@ class DockerDriver(driver.BaseDriver, driver.ContainerDriver,
|
||||
labels = {}
|
||||
slabels = info['Labels']
|
||||
if slabels:
|
||||
for l in slabels:
|
||||
kv = l.split("=")
|
||||
for slabel in slabels:
|
||||
kv = slabel.split("=")
|
||||
label = {kv[0]: kv[1]}
|
||||
labels.update(label)
|
||||
runtimes = []
|
||||
|
Loading…
Reference in New Issue
Block a user