From b610a968cc00141b61f11933461c2f04dde802c7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 12 Aug 2014 22:38:36 +0200 Subject: [PATCH] run_checks: Re-enable pylint plugins. --- scripts/run_checks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/run_checks.py b/scripts/run_checks.py index 606bad62a..34b97347f 100755 --- a/scripts/run_checks.py +++ b/scripts/run_checks.py @@ -197,6 +197,10 @@ def _get_args(checker): args += _get_flag('disable', 'pylint', 'disable') args += _get_flag('ignore', 'pylint', 'exclude') args += _get_optional_args('pylint') + plugins = [] + for plugin in config.get('pylint', 'plugins').split(','): + plugins.append('pylint_checkers.{}'.format(plugin)) + args.append('--load-plugins={}'.format(','.join(plugins))) elif checker == 'flake8': args += _get_flag('ignore', 'flake8', 'disable') args += _get_flag('exclude', 'flake8', 'exclude')