https://github.com/ssciwr/clang-format-hook
pre-commit hook to apply clang-format
https://github.com/ssciwr/clang-format-hook
Last synced: 6 months ago
JSON representation
pre-commit hook to apply clang-format
- Host: GitHub
- URL: https://github.com/ssciwr/clang-format-hook
- Owner: ssciwr
- Created: 2021-09-28T14:35:18.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-21T14:04:00.000Z (over 2 years ago)
- Last Synced: 2025-04-01T13:42:50.303Z (6 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clang-format pre-commit hook
This repository contains a [pre-commit](https://pre-commit.com) hook to apply
[clang-format](https://clang.llvm.org/docs/ClangFormat.html) using
[wheels](https://github.com/ssciwr/clang-format-wheel).In contrast to [https://github.com/pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format),
this repository provides backports of older versions of clang-format.
Use this if you need to stick to a specific major/minor version of clang-format.