We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1633b0 commit 414fbc5Copy full SHA for 414fbc5
setup.py
@@ -7,14 +7,14 @@ class PylintIncompatiblePythonError(Exception):
7
def __init__(self, version_info: "sys._version_info") -> None:
8
super().__init__(
9
"The last version compatible with Python <= 3.6.2 is pylint '2.9.3'. "
10
- f"You're using {'.'.join(map(str, version_info[:3]))}. "
+ f"You're using {'.'.join([str(v) for v in version_info[:3]])}. "
11
"Please install pylint 2.9.3 explicitly or upgrade your python interpreter "
12
"to at least 3.6.2. Remember that Python 3.6 end life is December 2021. "
13
"See https://github.com/PyCQA/pylint/issues/5065 for more detail."
14
)
15
16
17
if sys.version_info < (3, 6, 2):
18
- raise PylintIncompatiblePythonError(sys.version_info)
+ raise PylintIncompatiblePythonError()
19
20
setup()
0 commit comments