diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d64f808..947b7f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/README.md b/README.md index 5188e91..0c26201 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 @@ -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] diff --git a/setup.py b/setup.py index 0d6f164..7e4973e 100644 --- a/setup.py +++ b/setup.py @@ -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="xianpeng.shen@gmail.com", license="MIT",