Add check-mlir-python to the MLIR pre-commit tests

It’s easy to forget about the Python bindings and not build/test them locally. It’s also easy to change something that’ll break the python binding tests and not find out till after you’ve committed your change.

These tests seem to run quickly and don’t require much extra setup, so could we consider adding them to the general MLIR pre-commit tests?


cc @c-rhodes, @banach-space

cc @ftynse