Skip to content

Commit dc83493

Browse files
committed
STY: Turn on flake8 for pandas/compat/__init__.py
1 parent 190a69e commit dc83493

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pandas/compat/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
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
18+
from distutils.version import LooseVersion # noqa
2319
import platform
20+
import re
2421
import struct
22+
import sys
2523

2624
PY36 = sys.version_info >= (3, 6)
2725
PY37 = sys.version_info >= (3, 7)
@@ -110,6 +108,7 @@ def raise_with_traceback(exc, traceback=Ellipsis):
110108
_, _, traceback = sys.exc_info()
111109
raise exc.with_traceback(traceback)
112110

111+
113112
# In Python 3.7, the private re._pattern_type is removed.
114113
# Python 3.5+ have typing.re.Pattern
115114
if PY36:

0 commit comments

Comments
 (0)