Skip to content

Commit

Permalink
I think we can ignore MyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
qubixes committed Mar 27, 2024
1 parent fa27319 commit a872878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metasyncontrib/disclosure/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _create_subsample( # pylint: disable=too-many-locals
# Workaround for years < 1970 that should work for Windows and Linux/OS X
sub_values = []
for block in block_values:
mean_time = pl.Series(block).dt.cast_time_unit("us").mean()
mean_time: float = pl.Series(block).dt.cast_time_unit("us").mean() # type: ignore
assert mean_time is not None
sec_since_1970 = mean_time / 1e6
sub_values.append(
Expand Down

0 comments on commit a872878

Please sign in to comment.