Skip to content

Commit b56e577

Browse files
committed
enable clang-tidy for testing
1 parent b598813 commit b56e577

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ repos:
3636

3737
# Start: for development testing
3838
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
39-
rev: latest
39+
rev: main
4040
hooks:
4141
- id: clang-format
4242
verbose: true
4343
args: [--style=Google, --version=14]
44-
# - id: clang-tidy
45-
# verbose: true
46-
# args: [--checks="boost-*,bugprone-*,performance-*,readability-*,portability-*,modernize-*,clang-analyzer-*,cppcoreguidelines-*"]
44+
- id: clang-tidy
45+
verbose: true
46+
args: [--checks="boost-*,bugprone-*,performance-*,readability-*,portability-*,modernize-*,clang-analyzer-*,cppcoreguidelines-*"]
4747
# or specify the path of .clang-tidy
4848
# args: [--config-file=."]
4949
# End: for development testing

0 commit comments

Comments
 (0)