Skip to content

Commit

Permalink
Bump version to v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Jul 12, 2022
1 parent 5594389 commit e327fa7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,3 @@ repos:
description: Run all tests
language: system
types: [python]
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: v0.1.0
hooks:
- id: clang-format
args: [--style=Google, --version=13]
- id: clang-tidy
args: [--checks=testing/.clang-tidy, --version=13]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add this to your `.pre-commit-config.yaml`
```yaml
repos:
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: v0.1.0 # Use the ref you want to point at
rev: v0.2.0 # Use the ref you want to point at
hooks:
- id: clang-format
args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
Expand All @@ -27,7 +27,7 @@ The example of using custom config: `.clang-format` and `.clang-tidy`
```yaml
repos:
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: v0.1.0
rev: v0.2.0
hooks:
- id: clang-format
args: [--style=file] # to load .clang-format
Expand All @@ -40,7 +40,7 @@ The example of using any version of [clang-tools](https://github.com/shenxianpen
```yaml
repos:
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: v0.1.0
rev: v0.2.0
hooks:
- id: clang-format
args: [--style=file, --version=13]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name='cpp_linter_hooks',
description='Automatically check c/c++ with clang-format and clang-tidy',
url='https://github.com/shenxianpeng/cpp-linter-hooks',
version='0.1.0',
version='0.2.0',
author="Peter Shen",
author_email="[email protected]",
license="MIT",
Expand Down

0 comments on commit e327fa7

Please sign in to comment.