Skip to content

Commit

Permalink
fix pandas-dev#28926 mypy error in pandas\tests\arrays\test_array.py (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
yogendrasoni authored and proost committed Dec 19, 2019
1 parent 53fb8b2 commit 663a97c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 3 additions & 1 deletion pandas/core/arrays/period.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,9 @@ def _raise_on_incompatible(left, right):


def period_array(
data: Sequence[Optional[Period]], freq: Optional[Tick] = None, copy: bool = False
data: Sequence[Optional[Period]],
freq: Optional[Union[str, Tick]] = None,
copy: bool = False,
) -> PeriodArray:
"""
Construct a new PeriodArray from a sequence of Period scalars.
Expand Down
9 changes: 0 additions & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,9 @@ ignore_errors=True
[mypy-pandas.tests.arithmetic.test_datetime64]
ignore_errors=True

[mypy-pandas.tests.arrays.test_array]
ignore_errors=True

[mypy-pandas.tests.arrays.test_datetimelike]
ignore_errors=True

[mypy-pandas.tests.arrays.test_period]
ignore_errors=True

[mypy-pandas.tests.dtypes.test_common]
ignore_errors=True

Expand Down Expand Up @@ -190,9 +184,6 @@ ignore_errors=True
[mypy-pandas.tests.series.test_operators]
ignore_errors=True

[mypy-pandas.tests.test_base]
ignore_errors=True

[mypy-pandas.tests.tseries.offsets.test_offsets]
ignore_errors=True

Expand Down

0 comments on commit 663a97c

Please sign in to comment.