Skip to content

Commit

Permalink
fix ruff linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wmvanvliet committed Oct 15, 2024
1 parent 279e97e commit e693b59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mne_rsa/rsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def count_rank_tie(ranks):


def _consolidate_masks(masks):
if type(masks[0]) == slice:
"""Compute the union of multiple masks."""
if type(masks[0]) is slice:
mask = slice(None)
else:
mask = masks[0]
Expand Down

0 comments on commit e693b59

Please sign in to comment.