mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 14:16:46 +00:00
Resolve Flake8 Warnings
This commit is contained in:
parent
bb6be18aa4
commit
db13d87d36
@ -61,7 +61,7 @@ class Handler(ABC, meta.MetaMixin):
|
||||
assert self._meta.interface, \
|
||||
"%s.Meta.interface undefined." % self.__class__.__name__
|
||||
except AssertionError as e:
|
||||
raise(exc.FrameworkError(e.args[0]))
|
||||
raise exc.FrameworkError(e.args[0])
|
||||
|
||||
self.app = None
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ class Interface(ABC, meta.MetaMixin):
|
||||
assert self._meta.interface, \
|
||||
"%s.Meta.interface undefined." % self.__class__.__name__
|
||||
except AssertionError as e:
|
||||
raise(exc.InterfaceError(e.args[0]))
|
||||
raise exc.InterfaceError(e.args[0])
|
||||
|
||||
def _validate(self):
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user