Skip to content

Commit df570bb

Browse files
[cleanup] Remove a check that can never be reached (#413)
The package metadata makes sure that the python version is at least 3.7. This package won't be installed for other python interpreters.
1 parent 7237242 commit df570bb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pylint_django/__init__.py

-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
"""pylint_django module."""
2-
from __future__ import absolute_import
32

4-
import sys
53

64
from pylint_django import plugin
75

8-
if sys.version_info < (3,):
9-
raise DeprecationWarning("Version 0.11.1 was the last to support Python 2. Please migrate to Python 3!")
10-
116
register = plugin.register # pylint: disable=invalid-name
127
load_configuration = plugin.load_configuration # pylint: disable=invalid-name

0 commit comments

Comments
 (0)