--- a/checker.py Thu Jun 23 16:54:08 2016 +0800
+++ b/checker.py Thu Jun 23 19:38:59 2016 +0800
flags = lc.get('flags', []) + linter.get('flags', [])
pf = lc.get('post_flags', []) + linter.get('post_flags', [])
- if not run(cmd + flags + [f] + pf, ignore_codes=(1,)):
+ codes = lc.get('codes', (1,))
+ if not run(cmd + flags + [f] + pf, ignore_codes=codes):