Skip to content

Commit c60135c

Browse files
authored
STYLE Enable Pylint statement use-sequence-for-iteration (#49713)
Enable the Pylint "C" warning use-sequence-for-iteration
1 parent b3db4b9 commit c60135c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pandas/tests/indexes/interval/test_interval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def test_isin(self, closed):
537537
result = index.isin(other.tolist())
538538
tm.assert_numpy_array_equal(result, expected)
539539

540-
for other_closed in {"right", "left", "both", "neither"}:
540+
for other_closed in ["right", "left", "both", "neither"]:
541541
other = self.create_index(closed=other_closed)
542542
expected = np.repeat(closed == other_closed, len(index))
543543
result = index.isin(other)

pyproject.toml

Lines changed: 0 additions & 1 deletion
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-
"use-sequence-for-iteration",
9796
"useless-import-alias",
9897
"wrong-import-order",
9998
"wrong-import-position",

0 commit comments

Comments
 (0)