Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quantco/pre-commit-mirrors-clang-format
https://github.com/quantco/pre-commit-mirrors-clang-format
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/quantco/pre-commit-mirrors-clang-format
- Owner: Quantco
- License: bsd-3-clause
- Created: 2023-09-22T11:11:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-23T11:35:36.000Z (6 months ago)
- Last Synced: 2024-06-23T12:40:30.064Z (6 months ago)
- Size: 51.8 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# clang-format pre-commit hook
pre-commit hook of clang-format with conda as a `language` / package manager.
For pre-commit: see [here](https://github.com/pre-commit/pre-commit)
For clang-format: see [here](https://clang.llvm.org/docs/ClangFormat.html)
## Using clang-format with pre-commit and conda:
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/quantco/pre-commit-mirrors-clang-format
rev: '' # Use the sha / tag you want to point at
hooks:
- id: clang-format-conda
```