flake8
This commit is contained in:
@@ -64,7 +64,7 @@ def get(id):
|
|||||||
sys.path.append('.yamllint')
|
sys.path.append('.yamllint')
|
||||||
module = importlib.import_module('rules.' + id)
|
module = importlib.import_module('rules.' + id)
|
||||||
_RULES[module.ID] = module
|
_RULES[module.ID] = module
|
||||||
except ImportError as exc:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if id not in _RULES:
|
if id not in _RULES:
|
||||||
|
|||||||
Reference in New Issue
Block a user