File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# cpp-linter-hooks
22
3- [ ![ Test] ( https://github.com/shenxianpeng /cpp-linter-hooks/actions/workflows/test.yml/badge.svg )] ( https://github.com/shenxianpeng /cpp-linter-hooks/actions/workflows/test.yml )
4- [ ![ codecov] ( https://codecov.io/gh/shenxianpeng /cpp-linter-hooks/branch/main/graph/badge.svg?token=L74Z3HZ4Y5 )] ( https://codecov.io/gh/shenxianpeng /cpp-linter-hooks )
3+ [ ![ Test] ( https://github.com/cpp-linter /cpp-linter-hooks/actions/workflows/test.yml/badge.svg )] ( https://github.com/cpp-linter /cpp-linter-hooks/actions/workflows/test.yml )
4+ [ ![ codecov] ( https://codecov.io/gh/cpp-linter /cpp-linter-hooks/branch/main/graph/badge.svg?token=L74Z3HZ4Y5 )] ( https://codecov.io/gh/cpp-linter /cpp-linter-hooks )
55
66Using ` clang-format ` and ` clang-tidy ` hooks with [ pre-commit] ( https://pre-commit.com/ ) to lint your C/C++ code.
77
@@ -13,7 +13,7 @@ Add this to your `.pre-commit-config.yaml`
1313
1414``` yaml
1515repos :
16- - repo : https://github.com/shenxianpeng /cpp-linter-hooks
16+ - repo : https://github.com/cpp-linter /cpp-linter-hooks
1717 rev : v0.2.0 # Use the ref you want to point at
1818 hooks :
1919 - id : clang-format
@@ -26,7 +26,7 @@ The example of using custom config: `.clang-format` and `.clang-tidy`
2626
2727` ` ` yaml
2828repos:
29- - repo: https://github.com/shenxianpeng /cpp-linter-hooks
29+ - repo: https://github.com/cpp-linter /cpp-linter-hooks
3030 rev: v0.2.0
3131 hooks:
3232 - id: clang-format
@@ -35,11 +35,11 @@ repos:
3535 args: [--checks=.clang-tidy] # path/to/.clang-tidy
3636` ` `
3737
38- The example of using any version of [clang-tools](https://github.com/shenxianpeng /clang-tools-pip).
38+ The example of using any version of [clang-tools](https://github.com/cpp-linter /clang-tools-pip).
3939
4040` ` ` yaml
4141repos:
42- - repo: https://github.com/shenxianpeng /cpp-linter-hooks
42+ - repo: https://github.com/cpp-linter /cpp-linter-hooks
4343 rev: v0.2.0
4444 hooks:
4545 - id: clang-format
Original file line number Diff line number Diff line change 44setup (
55 name = 'cpp_linter_hooks' ,
66 description = 'Automatically check c/c++ with clang-format and clang-tidy' ,
7- url = 'https://github.com/shenxianpeng /cpp-linter-hooks' ,
7+ url = 'https://github.com/cpp-linter /cpp-linter-hooks' ,
88 version = '0.2.0' ,
99 author = "Peter Shen" ,
1010 author_email = "xianpeng.shen@gmail.com" ,
You can’t perform that action at this time.
0 commit comments