Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha@silbe.org>2009-08-26 18:28:53 (GMT)
committer Sascha Silbe <sascha@silbe.org>2009-08-26 18:28:53 (GMT)
commit46716ae1fc7e9dcee1919186f232a7cc413121d0 (patch)
treeb3a868bf6b8aa5109577ddfc45e19770d9f0d900
parentfc2d0f46a252abaa29ccc007e0800862471275bb (diff)
set PYLINTRC so pylint will use our config by default
-rw-r--r--sjhbuild/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sjhbuild/config.py b/sjhbuild/config.py
index d15f476..8d3ce29 100644
--- a/sjhbuild/config.py
+++ b/sjhbuild/config.py
@@ -68,6 +68,8 @@ class Config(jhbuild.config.Config):
os.environ['PYTHON_LIB'] = distutils.sysconfig.get_python_lib(prefix=self.prefix)
+ os.environ['PYLINTRC'] = os.path.join(self.base_dir, 'scripts', 'data', 'pylintrc')
+
if 'DBUS_SESSION_BUS_ADDRESS' in os.environ:
del os.environ['DBUS_SESSION_BUS_ADDRESS']