Skip to content

Commit 64e6178

Browse files
committed
add isort:skip to noqa: E402 marked lines
1 parent bfae4aa commit 64e6178

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

doc/source/user_guide/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3204,7 +3204,7 @@ argument to ``to_excel`` and to ``ExcelWriter``. The built-in engines are:
32043204
writer = pd.ExcelWriter('path_to_file.xlsx', engine='xlsxwriter')
32053205
32063206
# Or via pandas configuration.
3207-
from pandas import options # noqa: E402
3207+
from pandas import options. # noqa: E402
32083208
options.io.excel.xlsx.writer = 'xlsxwriter'
32093209
32103210
df.to_excel('path_to_file.xlsx', sheet_name='Sheet1')

pandas/tests/io/pytables/test_pytables.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import pandas.util.testing as tm
3838
from pandas.util.testing import assert_frame_equal, assert_series_equal, set_timezone
3939

40-
from pandas.io import pytables as pytables # noqa:E402
40+
from pandas.io import pytables as pytables # noqa: E402 isort:skip
4141
from pandas.io.formats.printing import pprint_thing
4242
from pandas.io.pytables import (
4343
ClosedFileError,
@@ -46,7 +46,7 @@
4646
Term,
4747
read_hdf,
4848
)
49-
from pandas.io.pytables import TableIterator # noqa:E402
49+
from pandas.io.pytables import TableIterator # noqa: E402 isort:skip
5050

5151
tables = pytest.importorskip("tables")
5252

pandas/tests/io/test_feather.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pandas.util.testing as tm
99
from pandas.util.testing import assert_frame_equal, ensure_clean
1010

11-
from pandas.io.feather_format import read_feather, to_feather # noqa:E402
11+
from pandas.io.feather_format import read_feather, to_feather # noqa: E402 isort:skip
1212

1313
pyarrow = pytest.importorskip("pyarrow")
1414

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def is_platform_mac():
5858
# The import of Extension must be after the import of Cython, otherwise
5959
# we do not get the appropriately patched class.
6060
# See https://cython.readthedocs.io/en/latest/src/reference/compilation.html
61-
from distutils.extension import Extension # noqa:E402
62-
from distutils.command.build import build # noqa:E402
61+
from distutils.extension import Extension # noqa: E402 isort:skip
62+
from distutils.command.build import build # noqa: E402 isort:skip
6363

6464
try:
6565
if not _CYTHON_INSTALLED:

0 commit comments

Comments
 (0)