Skip to content

STYLE enable pylint: 48855-useless-import-alias #49730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/tests/io/pytables/test_file_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
tables,
)

from pandas.io import pytables as pytables
from pandas.io import pytables
from pandas.io.pytables import Term

pytestmark = pytest.mark.single_cpu
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/strings/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest

from pandas import Series
from pandas.core import strings as strings
from pandas.core import strings

_any_string_method = [
("cat", (), {"sep": ","}),
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/strings/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_testing as tm,
get_option,
)
from pandas.core import strings as strings
from pandas.core import strings


def test_api(any_string_dtype):
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/tseries/offsets/test_business_day.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
assert_offset_equal,
)

from pandas.tseries import offsets as offsets
from pandas.tseries import offsets


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/tseries/offsets/test_custom_business_month.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
)
from pandas.tests.tseries.offsets.test_offsets import _ApplyCases

from pandas.tseries import offsets as offsets
from pandas.tseries import offsets
from pandas.tseries.holiday import USFederalHolidayCalendar


Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ disable = [
"unneeded-not",
"use-implicit-booleaness-not-comparison",
"use-implicit-booleaness-not-len",
"useless-import-alias",
"wrong-import-order",
"wrong-import-position",

Expand Down