Skip to content

Commit

Permalink
CLN: fix mypy errors in pandas\tests\indexes\interval\test_base.py pa…
Browse files Browse the repository at this point in the history
  • Loading branch information
srcole authored and proost committed Dec 19, 2019
1 parent a0ac3f5 commit 1483293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
3 changes: 2 additions & 1 deletion pandas/tests/indexes/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import gc
from typing import Optional, Type

import numpy as np
import pytest
Expand Down Expand Up @@ -30,7 +31,7 @@
class Base:
""" base class for index sub-class tests """

_holder = None
_holder = None # type: Optional[Type[Index]]
_compat_props = ["shape", "ndim", "size", "nbytes"]

def test_pickle_compat_construction(self):
Expand Down
21 changes: 0 additions & 21 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -148,33 +148,12 @@ ignore_errors=True
[mypy-pandas.tests.extension.json.test_json]
ignore_errors=True

[mypy-pandas.tests.indexes.datetimes.test_datetimelike]
ignore_errors=True

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

[mypy-pandas.tests.indexes.interval.test_interval_tree]
ignore_errors=True

[mypy-pandas.tests.indexes.period.test_period]
ignore_errors=True

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

[mypy-pandas.tests.indexes.test_category]
ignore_errors=True

[mypy-pandas.tests.indexes.test_numeric]
ignore_errors=True

[mypy-pandas.tests.indexes.test_range]
ignore_errors=True

[mypy-pandas.tests.indexes.timedeltas.test_timedelta]
ignore_errors=True

[mypy-pandas.tests.indexing.test_loc]
ignore_errors=True

Expand Down

0 comments on commit 1483293

Please sign in to comment.