mirrors-clang-format
mirrors-clang-format copied to clipboard
remove JSON since the hook breaks ipynb files
Clang-format 19 breaks ipynb files. xref: https://github.com/llvm/llvm-project/issues/110727 I can't find a way to exclude a format in pre-commit-mirror, so I remove the JSON format directly to ensure the hook doesn't break any files with the default configuration.
seems best for now to just override this in your own config (probably with exclude: ?) assuming this will get fixed upstream
The upstream has closed https://github.com/llvm/llvm-project/issues/110727 without a fix.
https://github.com/llvm/llvm-project/pull/135137 was merged and has landed in version LLVM 21.1.0-rc1