diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-03-10 15:00:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 15:00:42 -0500 |
commit | ab20812ad0e9ca17cc3bc32dbf34be575dcea502 (patch) | |
tree | 27be7b6fcb9d1235a0233296ea4797ec23b5d333 /pylint/lint | |
parent | 958ff856a25c1b6152c6f0a03d7488a6278adebf (diff) | |
download | pylint-git-ab20812ad0e9ca17cc3bc32dbf34be575dcea502.tar.gz |
Clear LRU caches on pylint utilities (#8420)
Diffstat (limited to 'pylint/lint')
-rw-r--r-- | pylint/lint/run.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/lint/run.py b/pylint/lint/run.py index 2232c41a3..49b807f87 100644 --- a/pylint/lint/run.py +++ b/pylint/lint/run.py @@ -12,6 +12,7 @@ from pathlib import Path from typing import Any, ClassVar from pylint import config +from pylint.checkers.utils import clear_lru_caches from pylint.config._pylint_config import ( _handle_pylint_config_commands, _register_generate_config_options, @@ -222,6 +223,7 @@ group are mutually exclusive.", exit = do_exit if linter.config.clear_cache_post_run: + clear_lru_caches() MANAGER.clear_cache() if exit: |