Skip to content

Commit

Permalink
TYP: remove ignores from BlockManager.__cinit__ (#42398)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Jul 7, 2021
1 parent 6ec372e commit d002911
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pandas/_libs/internals.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -585,12 +585,8 @@ cdef class BlockManager:
# Populate known_consolidate, blknos, and blklocs lazily
self._known_consolidated = False
self._is_consolidated = False
# error: Incompatible types in assignment (expression has type "None",
# variable has type "ndarray")
self._blknos = None # type: ignore[assignment]
# error: Incompatible types in assignment (expression has type "None",
# variable has type "ndarray")
self._blklocs = None # type: ignore[assignment]
self._blknos = None
self._blklocs = None

# -------------------------------------------------------------------
# Pickle
Expand Down

0 comments on commit d002911

Please sign in to comment.