diff options
Diffstat (limited to 'pylint/constants.py')
-rw-r--r-- | pylint/constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/constants.py b/pylint/constants.py index 05a1a0b25..df688eada 100644 --- a/pylint/constants.py +++ b/pylint/constants.py @@ -4,6 +4,7 @@ import platform import sys import astroid +import platformdirs from pylint.__pkginfo__ import __version__ @@ -39,6 +40,8 @@ MSG_TYPES_STATUS = {"I": 0, "C": 16, "R": 8, "W": 4, "E": 2, "F": 1} # on all project using [MASTER] in their rcfile. MAIN_CHECKER_NAME = "master" +DEFAULT_PYLINT_HOME = platformdirs.user_cache_dir("pylint") + class WarningScope: LINE = "line-based-msg" |