Method: pylint.constants._get_pylint_home
Calls: 2, Exceptions: 0, Paths: 2Back
Path 1: 1 calls (0.5)
'/Users/andrehora/Library/Caches/pylint' (1)
1def _get_pylint_home() -> str:
2 """Return the pylint home."""
3 if "PYLINTHOME" in os.environ:
4 return os.environ["PYLINTHOME"]
5
6 _warn_about_old_home(pathlib.Path(DEFAULT_PYLINT_HOME))
7
8 return DEFAULT_PYLINT_HOME
Path 2: 1 calls (0.5)
'/var/folders/yp/qx0crmvd4sbck7chb52sws500000gn/T/.pylint.d' (1)
1def _get_pylint_home() -> str:
2 """Return the pylint home."""
3 if "PYLINTHOME" in os.environ:
4 return os.environ["PYLINTHOME"]
5
6 _warn_about_old_home(pathlib.Path(DEFAULT_PYLINT_HOME))
7
8 return DEFAULT_PYLINT_HOME