Merge "Remove pylint target"
This commit is contained in:
commit
df59fb79e2
@ -9,7 +9,6 @@ testtools>=2.2.0 # MIT
|
||||
stestr>=1.1.0 # Apache-2.0
|
||||
doc8>=0.8.1 # Apache-2.0
|
||||
astroid==1.6.5 # LGPLv2.1
|
||||
pylint==1.9.2 # GPLv2
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
tenacity>=4.9.0 # Apache-2.0
|
||||
# Docs building
|
||||
|
5
tox.ini
5
tox.ini
@ -108,11 +108,6 @@ commands = oslo-config-generator --config-file=tools/trove-config-generator.conf
|
||||
[testenv:genpolicy]
|
||||
commands = oslopolicy-sample-generator --config-file=tools/trove-policy-generator.conf
|
||||
|
||||
[testenv:pylint]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = python tools/trove-pylint.py {posargs:check}
|
||||
|
||||
[testenv:docs]
|
||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
|
@ -110,10 +110,10 @@ def clean_db():
|
||||
meta.bind = engine
|
||||
meta.reflect(bind=engine)
|
||||
with contextlib.closing(engine.connect()) as con:
|
||||
trans = con.begin() # pylint: disable=E1101
|
||||
trans = con.begin()
|
||||
for table in reversed(meta.sorted_tables):
|
||||
if table.name != "migrate_version":
|
||||
con.execute(table.delete()) # pylint: disable=E1101
|
||||
con.execute(table.delete())
|
||||
trans.commit()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user