We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ff5fa commit 4c1a709Copy full SHA for 4c1a709
pylint_django/compat.py
@@ -25,4 +25,8 @@
25
import pylint
26
27
# pylint before version 2.3 does not support load_configuration() hook.
28
-LOAD_CONFIGURATION_SUPPORTED = pylint.__pkginfo__.numversion >= (2, 3)
+LOAD_CONFIGURATION_SUPPORTED = False
29
+try:
30
+ LOAD_CONFIGURATION_SUPPORTED = tuple(pylint.__version__.split('.')) >= ('2', '3')
31
+except AttributeError:
32
+ LOAD_CONFIGURATION_SUPPORTED = pylint.__pkginfo__.numversion >= (2, 3)
0 commit comments