https://github.com/quantco/pre-commit-mirrors-clang-tidy
https://github.com/quantco/pre-commit-mirrors-clang-tidy
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/quantco/pre-commit-mirrors-clang-tidy
- Owner: Quantco
- License: bsd-3-clause
- Created: 2023-09-22T11:12:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T07:55:22.000Z (over 1 year ago)
- Last Synced: 2025-02-03T08:35:47.131Z (over 1 year ago)
- Size: 55.7 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# clang-tidy pre-commit hook
pre-commit hook of clang-tidy with conda as a `language` / package manager.
For pre-commit: see [here](https://github.com/pre-commit/pre-commit)
For clang-tidy: see [here](https://clang.llvm.org/extra/clang-tidy/)
## Using clang-tidy with pre-commit and conda:
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/quantco/pre-commit-mirrors-clang-tidy
rev: '' # Use the sha / tag you want to point at
hooks:
- id: clang-tidy-conda
```