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?

4 Likes

cc @c-rhodes, @banach-space

1 Like

cc @ftynse

1 Like

Note: This was implemented in https://github.com/llvm/llvm-project/pull/72847 :slight_smile: