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 1
1
# cpp-linter-hooks
2
2
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 )
5
5
6
6
Using ` clang-format ` and ` clang-tidy ` hooks with [ pre-commit] ( https://pre-commit.com/ ) to lint your C/C++ code.
7
7
@@ -13,7 +13,7 @@ Add this to your `.pre-commit-config.yaml`
13
13
14
14
``` yaml
15
15
repos :
16
- - repo : https://github.com/shenxianpeng /cpp-linter-hooks
16
+ - repo : https://github.com/cpp-linter /cpp-linter-hooks
17
17
rev : v0.2.0 # Use the ref you want to point at
18
18
hooks :
19
19
- id : clang-format
@@ -26,7 +26,7 @@ The example of using custom config: `.clang-format` and `.clang-tidy`
26
26
27
27
` ` ` yaml
28
28
repos:
29
- - repo: https://github.com/shenxianpeng /cpp-linter-hooks
29
+ - repo: https://github.com/cpp-linter /cpp-linter-hooks
30
30
rev: v0.2.0
31
31
hooks:
32
32
- id: clang-format
@@ -35,11 +35,11 @@ repos:
35
35
args: [--checks=.clang-tidy] # path/to/.clang-tidy
36
36
` ` `
37
37
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).
39
39
40
40
` ` ` yaml
41
41
repos:
42
- - repo: https://github.com/shenxianpeng /cpp-linter-hooks
42
+ - repo: https://github.com/cpp-linter /cpp-linter-hooks
43
43
rev: v0.2.0
44
44
hooks:
45
45
- id: clang-format
Original file line number Diff line number Diff line change 4
4
setup (
5
5
name = 'cpp_linter_hooks' ,
6
6
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' ,
8
8
version = '0.2.0' ,
9
9
author = "Peter Shen" ,
10
10
author_email = "xianpeng.shen@gmail.com" ,
You can’t perform that action at this time.
0 commit comments