Tidy lint
This commit is contained in:
parent
17aa1c62fb
commit
ea9961094a
|
@ -1 +1,2 @@
|
|||
.tox
|
||||
.testrepository
|
||||
|
|
|
@ -120,13 +120,11 @@ class DatabaseRelationAdapter(OpenStackRelationAdapter):
|
|||
self.ssl_key)
|
||||
return uri
|
||||
|
||||
|
||||
@property
|
||||
def uri(self):
|
||||
return self.get_uri()
|
||||
|
||||
|
||||
|
||||
class ConfigurationAdapter(object):
|
||||
"""
|
||||
Configuration Adapter which provides python based access
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = lint,py27
|
||||
envlist = pep8,py27
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
|
@ -13,7 +13,7 @@ commands = ostestr {posargs}
|
|||
basepython = python2.7
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:lint]
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = flake8 {posargs} lib
|
||||
|
|
Loading…
Reference in New Issue