Method: pylint.config.load_results
Calls: 1, Exceptions: 0, Paths: 1Back
Path 1: 1 calls (1.0)
'' (1)
None (1)
1def load_results(base: str) -> LinterStats | None:
2 # TODO: 3.0: Remove deprecated function
3 # pylint: disable=import-outside-toplevel
4 from pylint.lint.caching import load_results as _real_load_results
5
6 warnings.warn(
7 "'pylint.config.load_results' is deprecated, please use "
8 "'pylint.lint.load_results' instead. This will be removed in 3.0.",
9 DeprecationWarning,
10 stacklevel=2,
11 )
12 return _real_load_results(base, PYLINT_HOME)