pep8 blank lines fixes
flake8 --select W391,E302,E301,E304 autopep8 can't fix W391 even though it claims it can. Fixed using a simple custom script.
This commit is contained in:
parent
be2c8bd789
commit
448c06d125
142 changed files with 249 additions and 25 deletions
|
|
@ -103,6 +103,7 @@ class ModulesLoader(object):
|
|||
"""
|
||||
Load modules.
|
||||
"""
|
||||
|
||||
def __init__(self, path, version=None):
|
||||
self.version = version
|
||||
self.path = path
|
||||
|
|
@ -162,10 +163,12 @@ class ModulesLoader(object):
|
|||
def get_module_path(self, module_name):
|
||||
return self.path
|
||||
|
||||
|
||||
class RepositoryModulesLoader(ModulesLoader):
|
||||
"""
|
||||
Load modules from repositories.
|
||||
"""
|
||||
|
||||
def __init__(self, repositories):
|
||||
super(RepositoryModulesLoader, self).__init__(repositories.modules_dir, repositories.version)
|
||||
self.repositories = repositories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue