Method: pylint.config.utils._init_hook
Calls: 4, Exceptions: 2, Paths: 1Back
Path 1: 4 calls (1.0)
_Run (4)
'raise RuntimeError' (2) 'import sys; sys.path.append(r"/var/folders/yp/qx0crmvd4sbck7chb52sws500000gn/T/tmp0bp5a_j7fake-home")' (1) 'import sys; sys....
RuntimeError (2)
1def _init_hook(run: Run, value: str | None) -> None:
2 """Execute arbitrary code from the init_hook.
3
4 This can be used to set the 'sys.path' for example.
5 """
6 assert value is not None
7 exec(value) # pylint: disable=exec-used