summaryrefslogtreecommitdiff
path: root/pylint/constants.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-21 16:26:13 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-24 10:14:23 +0100
commitc136c5eac6c01e33914db7b3674c49161defa324 (patch)
treeb184518d4527bad92da0e034940312a2bf4f2034 /pylint/constants.py
parent6e44febc327defc28246f01d9c4027fbd33639a8 (diff)
downloadpylint-git-add-primer-tests.tar.gz
Add primer tests, (running pylint on external libs during tests)add-primer-tests
In order to anticipate crash/fatal messages, false positives are harder to anticipate. Add '__tracebackhide__ = True' so the traceback is manageable
Diffstat (limited to 'pylint/constants.py')
-rw-r--r--pylint/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/constants.py b/pylint/constants.py
index bee1055e1..d30b9dd56 100644
--- a/pylint/constants.py
+++ b/pylint/constants.py
@@ -8,6 +8,7 @@ import platformdirs
from pylint.__pkginfo__ import __version__
+PY37_PLUS = sys.version_info[:2] >= (3, 7)
PY38_PLUS = sys.version_info[:2] >= (3, 8)
PY39_PLUS = sys.version_info[:2] >= (3, 9)