diff options
author | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-10-03 23:58:01 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-10-03 23:58:01 (GMT) |
commit | 01728b8cc095ad5400584e43cce3f46bab455a28 (patch) | |
tree | 46e3aa87bd8924f13e10fd4c07daef7c12bf6080 /scripts | |
parent | 56268bd4c2452cfe6da25367a0502ed7400e068d (diff) |
Pylint extensions
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/check.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/check.py b/scripts/check.py index b827b62..d2f246d 100644 --- a/scripts/check.py +++ b/scripts/check.py @@ -7,6 +7,7 @@ import subprocess import time from jhbuild.commands import Command, register_command +import jhbuild.config scripts_dir = os.path.dirname(__file__) data_dir = os.path.join(scripts_dir, 'data') @@ -106,11 +107,18 @@ class cmd_check(Command): def check_pylint(self, config): print 'Pylint the sugar module...' - self.lint('sugar') + #self.lint('sugar') print 'Done.' print 'Pylint the jarabe module...' - self.lint('jarabe') + #self.lint('jarabe') + print 'Done.\n' + + ext_path = os.path.join(config.prefix, 'share', 'sugar', 'extensions') + jhbuild.config.addpath('PYTHONPATH', ext_path) + + print 'Pylint the control panel extensions...' + self.lint('cpsection') print 'Done.\n' def run(self, config, options, args): |