[core] Enable ruff BLE (flake8-blind-except) lint family (#16659)

This commit is contained in:
J. Nick Koston
2026-05-27 03:09:57 -05:00
committed by GitHub
parent 7463a15c7e
commit 3cc875c40b
23 changed files with 30 additions and 29 deletions

View File

@@ -392,7 +392,7 @@ def compile_and_get_binary(
if exit_code != 0:
print(f"Error compiling {label} for {', '.join(components)}")
return exit_code, None
except Exception as e:
except Exception as e: # noqa: BLE001
print(f"Error compiling {label} for {', '.join(components)}: {e}")
return EXIT_COMPILE_ERROR, None