Skip to content

Commit 1f12a5a

Browse files
committed
Merge + fix linting (>80 chars line)
1 parent 8372c7c commit 1f12a5a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mne/utils/mixin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def time_as_index(self, times, *, use_rounding=None):
528528

529529
if use_rounding is None:
530530
# Turned off temporarily to see the impact of the change without
531-
# crashing on a FutureWarning. Only crash, explicitely, if the
531+
# crashing on a FutureWarning. Only crash, explicitly, if the
532532
# values with and without rounding are different.
533533
#
534534
# warn(
@@ -539,8 +539,8 @@ def time_as_index(self, times, *, use_rounding=None):
539539
# )
540540
if not np.array_equal(index.astype(int), np.round(index))
541541
raise RuntimeError(
542-
f"This would have returned a different value: {index=}, different from {np.round(index)=}."
543-
)
542+
f"Would have returned a different value: {index=}, "
543+
f"different from {np.round(index)=}.")
544544
use_rounding = True
545545

546546
if use_rounding:

0 commit comments

Comments
 (0)