Skip to content

Commit 4e7e7f0

Browse files
gfyoungWillAyd
authored andcommitted
STY: Turn on flake8 for pandas/compat/__init__.py (#26093)
1 parent 190a69e commit 4e7e7f0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pandas/compat/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
Other items:
1515
* platform checker
1616
"""
17-
# pylint disable=W0611
18-
# flake8: noqa
1917

20-
import re
21-
from distutils.version import LooseVersion
22-
import sys
2318
import platform
19+
import re
2420
import struct
21+
import sys
2522

2623
PY36 = sys.version_info >= (3, 6)
2724
PY37 = sys.version_info >= (3, 7)
@@ -110,6 +107,7 @@ def raise_with_traceback(exc, traceback=Ellipsis):
110107
_, _, traceback = sys.exc_info()
111108
raise exc.with_traceback(traceback)
112109

110+
113111
# In Python 3.7, the private re._pattern_type is removed.
114112
# Python 3.5+ have typing.re.Pattern
115113
if PY36:

0 commit comments

Comments
 (0)