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.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pylint/lint/run.py b/pylint/lint/run.py
index 95be1a6f7..d63c936f1 100644
--- a/pylint/lint/run.py
+++ b/pylint/lint/run.py
@@ -6,7 +6,7 @@ import sys
import warnings
from pylint import __pkginfo__, extensions, interfaces
-from pylint.constants import full_version
+from pylint.constants import DEFAULT_PYLINT_HOME, full_version
from pylint.lint.pylinter import PyLinter
from pylint.lint.utils import ArgumentPreprocessingError, preprocess_options
from pylint.utils import print_full_documentation, utils
@@ -271,12 +271,11 @@ group are mutually exclusive.",
# add some help section
linter.add_help_section(
"Environment variables",
- """
+ f"""
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).
+not found, it defaults to '{DEFAULT_PYLINT_HOME}'.
* PYLINTRC
Path to the configuration file. See the documentation for the method used
to search for configuration file.