From a62c73b41eaee0c92bde51438268cecd13acbc18 Mon Sep 17 00:00:00 2001 From: Xavier Antoviaque Date: Sat, 27 Jun 2015 17:06:15 +0200 Subject: [PATCH] Load pylint plugins specified in external config This patch ensure the linter loads the pylint plugins specified in the external configuration (pylintrc) when it is used. This is required to load the pylint_django plugin for example. --- prospector/tools/pylint/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prospector/tools/pylint/__init__.py b/prospector/tools/pylint/__init__.py index c989eee7..4345bcd8 100644 --- a/prospector/tools/pylint/__init__.py +++ b/prospector/tools/pylint/__init__.py @@ -120,6 +120,7 @@ def _pylintrc_configure(self, pylintrc, linter): with stdout_wrapper(self._hide_stdout): linter.load_default_plugins() linter.load_file_configuration(pylintrc) + linter.load_plugin_modules(linter.config.load_plugins) def configure(self, prospector_config, found_files):