Skip to content

Commit d48bae5

Browse files
natmokvalmliu08
authored andcommitted
STYLE enable pylint: 48855-useless-import-alias (pandas-dev#49730)
STYLE enable pylint: 48855-useless-import-alias-II
1 parent 0da40c6 commit d48bae5

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

pandas/tests/io/pytables/test_file_handling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
tables,
2323
)
2424

25-
from pandas.io import pytables as pytables
25+
from pandas.io import pytables
2626
from pandas.io.pytables import Term
2727

2828
pytestmark = pytest.mark.single_cpu

pandas/tests/strings/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33

44
from pandas import Series
5-
from pandas.core import strings as strings
5+
from pandas.core import strings
66

77
_any_string_method = [
88
("cat", (), {"sep": ","}),

pandas/tests/strings/test_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
_testing as tm,
99
get_option,
1010
)
11-
from pandas.core import strings as strings
11+
from pandas.core import strings
1212

1313

1414
def test_api(any_string_dtype):

pandas/tests/tseries/offsets/test_business_day.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
assert_offset_equal,
2929
)
3030

31-
from pandas.tseries import offsets as offsets
31+
from pandas.tseries import offsets
3232

3333

3434
@pytest.fixture

pandas/tests/tseries/offsets/test_custom_business_month.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
)
3232
from pandas.tests.tseries.offsets.test_offsets import _ApplyCases
3333

34-
from pandas.tseries import offsets as offsets
34+
from pandas.tseries import offsets
3535
from pandas.tseries.holiday import USFederalHolidayCalendar
3636

3737

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ disable = [
9393
"unneeded-not",
9494
"use-implicit-booleaness-not-comparison",
9595
"use-implicit-booleaness-not-len",
96-
"useless-import-alias",
9796
"wrong-import-order",
9897
"wrong-import-position",
9998

0 commit comments

Comments
 (0)