Skip to content

Commit c9c713d

Browse files
committed
flake8
1 parent c4c6ecd commit c9c713d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

tests/test_frame.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
# flake8: noqa: F841
43
import datetime
54
import io
65
from pathlib import Path
@@ -610,8 +609,8 @@ def test_types_merge() -> None:
610609
df.merge(df2, on=("col1", "col2"), how="left", suffixes=(None, "s"))
611610
df.merge(df2, on=("col1", "col2"), how="left", suffixes=("t", "s"))
612611
df.merge(df2, on=("col1", "col2"), how="left", suffixes=("a", None))
613-
l = ["col1", "col2"]
614-
df.merge(df2, on=l)
612+
columns = ["col1", "col2"]
613+
df.merge(df2, on=columns)
615614

616615

617616
def test_types_plot() -> None:

tests/test_pandas.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
# flake8: noqa: F841
43
import tempfile
54
from typing import (
65
TYPE_CHECKING,

tests/test_timefuncs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# flake8: noqa: F841
12
from __future__ import annotations
23

34
import datetime as dt
@@ -18,9 +19,6 @@
1819

1920
from tests import check
2021

21-
# flake8: noqa: F841
22-
23-
2422
if TYPE_CHECKING:
2523
from pandas.core.series import (
2624
TimedeltaSeries,

0 commit comments

Comments
 (0)