summaryrefslogtreecommitdiff
path: root/pylint/lint/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/lint/run.py')
-rw-r--r--pylint/lint/run.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/pylint/lint/run.py b/pylint/lint/run.py
index 1555400cd..95be1a6f7 100644
--- a/pylint/lint/run.py
+++ b/pylint/lint/run.py
@@ -5,7 +5,7 @@ import os
import sys
import warnings
-from pylint import __pkginfo__, config, extensions, interfaces
+from pylint import __pkginfo__, extensions, interfaces
from pylint.constants import full_version
from pylint.lint.pylinter import PyLinter
from pylint.lint.utils import ArgumentPreprocessingError, preprocess_options
@@ -269,7 +269,20 @@ group are mutually exclusive.",
# load command line plugins
linter.load_plugin_modules(self._plugins)
# add some help section
- linter.add_help_section("Environment variables", config.ENV_HELP, level=1)
+ linter.add_help_section(
+ "Environment variables",
+ """
+The following environment variables are used:
+ * PYLINTHOME
+ Path to the directory where persistent data for the run will be stored. If
+not found, it defaults to ~/.pylint.d/ or .pylint.d (in the current working
+directory).
+ * PYLINTRC
+ Path to the configuration file. See the documentation for the method used
+to search for configuration file.
+""",
+ level=1,
+ )
linter.add_help_section(
"Output",
"Using the default text output, the message format is : \n"