summaryrefslogtreecommitdiff
path: root/pylint/epylint.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/epylint.py')
-rwxr-xr-xpylint/epylint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/epylint.py b/pylint/epylint.py
index a7eec3302..5517543a4 100755
--- a/pylint/epylint.py
+++ b/pylint/epylint.py
@@ -69,7 +69,8 @@ from typing import Optional, Sequence
def _get_env():
"""Extracts the environment PYTHONPATH and appends the current 'sys.path'
- to it."""
+ to it.
+ """
env = dict(os.environ)
env["PYTHONPATH"] = os.pathsep.join(sys.path)
return env