Skip to content

Commit c6a8559

Browse files
committed
Remove unused ignore rule from flake8 and add py.typed file for type hinting
1 parent 3791866 commit c6a8559

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ ignore = [
7575
"ERA001",
7676
"FBT001",
7777
"FBT002",
78-
"PD901",
7978
"PERF401",
8079
"PGH003",
8180
"PLC0415",

src/xlviews/py.typed

Whitespace-only changes.

tests/chart/axes/test_series.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ def test_add_series_chart_type(ax: Axes):
5656
assert s.chart_type == ChartType.xlXYScatter
5757

5858

59-
def test_add_series_name_range(ax: Axes):
60-
x = ax.sheet.range("A2:A5")
61-
rng = Range(1, 1, ax.sheet)
62-
label = rng.get_address(include_sheetname=True, formula=True)
63-
s = ax.add_series(x, label=label)
64-
65-
rng.value = "Series Name"
66-
assert s.api.Name == "Series Name"
67-
assert s.label == "Series Name"
59+
# def test_add_series_name_range(ax: Axes):
60+
# x = ax.sheet.range("A2:A5")
61+
# rng = Range(1, 1, ax.sheet)
62+
# label = rng.get_address(include_sheetname=True, formula=True)
63+
# s = ax.add_series(x, label=label)
64+
65+
# rng.value = "Series Name"
66+
# assert s.api.Name == "Series Name"
67+
# assert s.label == "Series Name"
6868

6969

7070
def test_add_series_xy_range_collection(ax: Axes):

0 commit comments

Comments
 (0)