You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: flake in code due to shadowing of builtin #12352
@wmvanvlietEvokedField._on_colormap_range has a comparison if type == "meg", but type here is the builtin type rather than something passed by kwarg for example:
Bonus points for removing these shadowing of builtins, it's a reason we generally prefer stuff like type_ to type when not use the builtin -- the flake / ruff check would have caught this issue then!
Reacted by Richard Höchenberger and Marijn van Vliet
Activity