Skip to content

Commit

Permalink
chore(deps): update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
hofbi committed Feb 4, 2025
1 parent 219b907 commit 1816a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 1816a94

Please sign in to comment.