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