Skip to content

Commit e2f84c9

Browse files
committed
feat: bump version to 1.1.0
1 parent d3d6979 commit e2f84c9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
3131
```yaml
3232
repos:
3333
- repo: https://github.com/cpp-linter/cpp-linter-hooks
34-
rev: v1.0.1 # Use the tag or commit you want
34+
rev: v1.1.0 # Use the tag or commit you want
3535
hooks:
3636
- id: clang-format
3737
args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
@@ -46,7 +46,7 @@ To use custom configurations like `.clang-format` and `.clang-tidy`:
4646
```yaml
4747
repos:
4848
- repo: https://github.com/cpp-linter/cpp-linter-hooks
49-
rev: v1.0.1
49+
rev: v1.1.0
5050
hooks:
5151
- id: clang-format
5252
args: [--style=file] # Loads style from .clang-format file
@@ -61,7 +61,7 @@ To use specific versions of clang-format and clang-tidy (using Python wheel pack
6161
```yaml
6262
repos:
6363
- repo: https://github.com/cpp-linter/cpp-linter-hooks
64-
rev: v1.0.1
64+
rev: v1.1.0
6565
hooks:
6666
- id: clang-format
6767
args: [--style=file, --version=18] # Specifies version
@@ -70,7 +70,7 @@ repos:
7070
```
7171

7272
> [!NOTE]
73-
> Starting from version v1.0.0, this package uses Python wheel packages ([clang-format](https://pypi.org/project/clang-format/) and [clang-tidy](https://pypi.org/project/clang-tidy/)) instead of the previous clang-tools binaries. The wheel packages provide better cross-platform compatibility and easier installation. For more details, see the [Migration Guide](MIGRATION.md).
73+
> Starting from version v1.0.0, this pre-commit hook uses Python wheel packages ([clang-format](https://pypi.org/project/clang-format/) and [clang-tidy](https://pypi.org/project/clang-tidy/)) instead of the previous clang-tools binaries. The wheel packages provide better cross-platform compatibility and easier installation. For more details, see the [Migration Guide](MIGRATION.md).
7474

7575
## Output
7676

@@ -147,11 +147,11 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
147147
### Performance Optimization
148148

149149
> [!TIP]
150-
> If your `pre-commit` runs longer than expected, it is highly recommended to add `files` in `.pre-commit-config.yaml` to limit the scope of the hook. This helps improve performance by reducing the number of files being checked and avoids unnecessary processing. Here's an example configuration:
150+
> For large codebases, if your `pre-commit` runs longer than expected, it is highly recommended to add `files` in `.pre-commit-config.yaml` to limit the scope of the hook. This helps improve performance by reducing the number of files being checked and avoids unnecessary processing. Here's an example configuration:
151151

152152
```yaml
153153
- repo: https://github.com/cpp-linter/cpp-linter-hooks
154-
rev: v1.0.1
154+
rev: v1.1.0
155155
hooks:
156156
- id: clang-format
157157
args: [--style=file, --version=18]
@@ -177,7 +177,7 @@ This approach ensures that only modified files are checked, further speeding up
177177
```yaml
178178
repos:
179179
- repo: https://github.com/cpp-linter/cpp-linter-hooks
180-
rev: v1.0.1
180+
rev: v1.1.0
181181
hooks:
182182
- id: clang-format
183183
args: [--style=file, --version=18, --verbose] # Add -v or --verbose for detailed output

0 commit comments

Comments
 (0)