--- a/checker.py Sun Jul 03 23:00:17 2016 +0800
+++ b/checker.py Sun Jul 03 23:04:08 2016 +0800
print('# C&O task: setup')
- for linter in config['linters']:
+ for linter in config.get('linters', []):
print('# C&O task: checks')
- for linter in config['linters']:
+ for linter in config.get('linters', []):
if 'name' not in linter or 'include' not in linter: