diff --git a/stevedore/driver.py b/stevedore/driver.py index a14659d..b8351d4 100644 --- a/stevedore/driver.py +++ b/stevedore/driver.py @@ -31,7 +31,8 @@ class DriverManager(NamedExtensionManager): invoke_kwds=invoke_kwds, ) if not self.extensions: - raise RuntimeError('No %r driver found, looking for %r' % (namespace, name)) + raise RuntimeError('No %r driver found, looking for %r' % + (namespace, name)) if len(self.extensions) > 1: raise RuntimeError('Multiple %r drivers found: %s' % (namespace, diff --git a/stevedore/enabled.py b/stevedore/enabled.py index 87c4aa2..620f900 100644 --- a/stevedore/enabled.py +++ b/stevedore/enabled.py @@ -33,11 +33,12 @@ class EnabledExtensionManager(ExtensionManager): def __init__(self, namespace, check_func, invoke_on_load=False, invoke_args=(), invoke_kwds={}): self.check_func = check_func - super(EnabledExtensionManager, self).__init__(namespace, - invoke_on_load=invoke_on_load, - invoke_args=invoke_args, - invoke_kwds=invoke_kwds, - ) + super(EnabledExtensionManager, self).__init__( + namespace, + invoke_on_load=invoke_on_load, + invoke_args=invoke_args, + invoke_kwds=invoke_kwds, + ) def _load_one_plugin(self, ep, invoke_on_load, invoke_args, invoke_kwds): if not self.check_func(ep): diff --git a/stevedore/named.py b/stevedore/named.py index 19b1f06..0b0a71a 100644 --- a/stevedore/named.py +++ b/stevedore/named.py @@ -28,9 +28,10 @@ class NamedExtensionManager(EnabledExtensionManager): invoke_on_load=False, invoke_args=(), invoke_kwds={}): def check(ep): return ep.name in names - super(NamedExtensionManager, self).__init__(namespace, - check, - invoke_on_load=invoke_on_load, - invoke_args=invoke_args, - invoke_kwds=invoke_kwds, - ) + super(NamedExtensionManager, self).__init__( + namespace, + check, + invoke_on_load=invoke_on_load, + invoke_args=invoke_args, + invoke_kwds=invoke_kwds, + ) diff --git a/tox.ini b/tox.ini index 09d5635..e646004 100644 --- a/tox.ini +++ b/tox.ini @@ -10,4 +10,4 @@ deps = [testenv:pep8] deps = pep8 -commands = pep8 --repeat --ignore=E501,E123 --show-source stevedore setup.py +commands = pep8 --repeat --ignore=E123 --show-source stevedore setup.py