diff --git a/python/pyarrow/_substrait.pyx b/python/pyarrow/_substrait.pyx index 1d54ea8b6ff64..a2678fc7bc219 100644 --- a/python/pyarrow/_substrait.pyx +++ b/python/pyarrow/_substrait.pyx @@ -31,7 +31,7 @@ try: except ImportError: py_substrait = None else: - import substrait.proto + import substrait.proto # noqa: F401 # TODO GH-37235: Fix exception handling