use lower_case_with_underscores instead of mixedCase for methods (PEP 8)
This commit is contained in:
parent
e4846ff2a4
commit
d699e307dd
21 changed files with 177 additions and 185 deletions
|
|
@ -39,7 +39,7 @@ class Module:
|
|||
if not self.klass:
|
||||
raise ImportError("This is not a backend module (no Backend class found)")
|
||||
|
||||
def hasCaps(self, caps):
|
||||
def has_caps(self, caps):
|
||||
if not isinstance(caps, (list,tuple)):
|
||||
caps = (caps,)
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ class Module:
|
|||
return True
|
||||
return False
|
||||
|
||||
def createBackend(self, weboob):
|
||||
def create_backend(self, weboob):
|
||||
return self.klass(weboob)
|
||||
|
||||
class ModulesLoader:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue