Not sure if this is a default setting (I can’t find any authoritative documentation online), but Cmd+Shift+Up/Down are bound to “Move statement up/down” in my PyCharm (which seems to take precedence over the mypy action).
I just checked this causes problems on Linux. Also it looks there is a hotkey clash for Ctrl+Shift+M that is used to run mypy. It looks like we might need to find another (alternative) hotkey for Linux.
Not sure if this is a default setting (I can’t find any authoritative documentation online), but
Cmd+Shift+Up/Down
are bound to “Move statement up/down” in my PyCharm (which seems to take precedence over the mypy action).