Add pre-commit hooks to fix common formatting issues causing CI failures (#9494)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-07-15 12:25:18 +12:00
1 parent 619e2d69c0
commit b2a8b0a22f
38 files changed
+12 -39

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ def test_write_hash() -> None:
mock_write.assert_called_once()
args = mock_write.call_args[0]
assert str(args[0]).endswith(".clang-tidy.hash")
assert args[1] == hash_value
assert args[1] == hash_value.strip() + "\n"
@pytest.mark.parametrize(