Skip to content

Commit

Permalink
mypy fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Oct 13, 2023
1 parent bd76016 commit 141d3a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/core/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -2561,7 +2561,9 @@ def _get_timestamp_range_edges(
first, last = _adjust_dates_anchored(
first,
last,
freq._maybe_to_hours(),
# error: Argument 3 to "_adjust_dates_anchored" has incompatible
# type "BaseOffset"; expected "Tick"
freq._maybe_to_hours(), # type: ignore[arg-type]
closed=closed,
origin=origin,
offset=offset,
Expand Down

0 comments on commit 141d3a8

Please sign in to comment.