Method: pylint.epylint._get_env
Calls: 4, Exceptions: 0, Paths: 1Back
Path 1: 4 calls (1.0)
{'TERM_PROGRAM': 'Apple_Terminal', 'SHELL': '/bin/zsh', 'TERM': 'xterm-256color', 'TMPDIR': '/var/folders/yp/qx0crmvd4sbck7chb52sws500000gn/T/', 'TERM...
1def _get_env() -> dict[str, str]:
2 """Extracts the environment PYTHONPATH and appends the current 'sys.path'
3 to it.
4 """
5 env = dict(os.environ)
6 env["PYTHONPATH"] = os.pathsep.join(sys.path)
7 return env