Skip to content

Commit

Permalink
fix pre-commit clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos committed Jun 26, 2024
1 parent 7308401 commit ce3c956
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ repos:
name: Check clang-format version
entry: python3 ./ci/check-clang-format-version.py
language: system
- id: clang-format
name: Clang format
entry: clang-format
language: system
args: ["--style=file"] # Use the .clang-format file for configuration
files: ^Common\+\+/.*\.(cpp|h)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand All @@ -28,6 +22,9 @@ repos:
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: clang-format
args: ["--style=file"] # Use the .clang-format file for configuration
files: ^Common\+\+/.*\.(cpp|h)$
- id: cppcheck
args: ["--std=c++11", "--language=c++", "--suppressions-list=cppcheckSuppressions.txt", "--inline-suppr", "--force"]
- repo: https://github.com/codespell-project/codespell
Expand Down

0 comments on commit ce3c956

Please sign in to comment.