Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update pre-commit hooks #1035

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default_stages: [commit]
repos:
# Check formatting and lint for starlark code
- repo: https://github.com/keith/pre-commit-buildifier
rev: 7.3.1
rev: 8.0.1
hooks:
- id: buildifier
- id: buildifier-lint
Expand Down Expand Up @@ -36,7 +36,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: v1.28.2
rev: v1.29.5
hooks:
- id: typos
exclude: |
Expand Down
4 changes: 2 additions & 2 deletions lib/tests/strings_tests.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _split_args_test_impl(ctx):

asserts.equals(env, ["a", "b", "c", "d"], split_args("a b c d"))

# sinle quotes
# single quotes
asserts.equals(env, ["a", "b c", "d"], split_args("a 'b c' d"))

# double quotes
Expand All @@ -73,7 +73,7 @@ def _split_args_test_impl(ctx):
# escaped double quotes
asserts.equals(env, ["a", "\"b", "c\"", "d"], split_args("a \\\"b c\\\" d"))

# sinle quotes containing escaped quotes
# single quotes containing escaped quotes
asserts.equals(env, ["a", "b'\" c", "d"], split_args("a 'b\\'\\\" c' d"))

# double quotes containing escaped quotes
Expand Down