Skip to content

Commit 0b3c298

Browse files
authored
ci(pre-commit): Autoupdate (#474)
The pre-commit hooks are quite old in this repo. This PR run `pre-commit autoupdate`. Since the hooks are not enfored by CI, buildifier is already broken. I will create a follow up PR similar to bazel-contrib/bazel-lib#1002 that adds it to CI and fix all errors.
1 parent e064327 commit 0b3c298

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ default_stages: [commit]
99
repos:
1010
# Check formatting and lint for starlark code
1111
- repo: https://github.com/keith/pre-commit-buildifier
12-
rev: 4.0.1.1
12+
rev: 7.3.1.1
1313
hooks:
1414
- id: buildifier
1515
- id: buildifier-lint
1616
# Enforce that commit messages allow for later changelog generation
1717
- repo: https://github.com/commitizen-tools/commitizen
18-
rev: v2.18.0
18+
rev: v4.1.0
1919
hooks:
2020
# Requires that commitizen is already installed
2121
- id: commitizen
2222
stages: [commit-msg]
2323
- repo: https://github.com/pre-commit/mirrors-prettier
24-
rev: "v2.4.0"
24+
rev: "v3.1.0"
2525
hooks:
2626
- id: prettier

e2e/repository-rule-deps/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ The `:test` test case imports two modules from `@myrepo` ("flat" using `imports=
3030

3131
The second test case `:all_direct` skips the `repository_rule` to demonstrate that the `test.py` itself is correctly implemented and can actually pass when the bug is not present.
3232

33-
3433
```console
3534
$ bazel test ...
3635
...

0 commit comments

Comments
 (0)