diff options
Diffstat (limited to 'pylint/lint/caching.py')
-rw-r--r-- | pylint/lint/caching.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pylint/lint/caching.py b/pylint/lint/caching.py index 8ea8a2236..97c4503d1 100644 --- a/pylint/lint/caching.py +++ b/pylint/lint/caching.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt from __future__ import annotations @@ -45,6 +45,7 @@ def load_results( "You're using an old pylint cache with invalid data following " f"an upgrade, please delete '{data_file}'.", UserWarning, + stacklevel=2, ) raise TypeError return data |