Skip to content

Commit fe31380

Browse files
talon-tools v0.12.1 (#3375)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 9ff626a commit fe31380

4 files changed

Lines changed: 15 additions & 10 deletions

File tree

‎.github/workflows/pre-commit.yml‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- name: Set up Node.js
3131
uses: ./.github/actions/setup-node
3232

33+
# pre-commit passes --allow-git=root when installing Node hooks. npm 11
34+
# rejects the hook repository's git dependency despite that setting.
35+
- name: Use npm 10 for pre-commit Node hooks
36+
run: npm install --global npm@10.9.4
37+
3338
- name: Install lua
3439
uses: leafo/gh-actions-lua@v12
3540

@@ -39,11 +44,11 @@ jobs:
3944
- name: Run pre-commit hooks
4045
uses: pre-commit/action@v3.0.1
4146

42-
- name: Auto-fix pre-commit issues
43-
uses: pre-commit-ci/lite-action@v1.1.0
44-
if: always()
45-
4647
- name: Pyright
4748
uses: jakebailey/pyright-action@v3
4849
with:
4950
pylance-version: latest-release
51+
52+
- name: pre-commit-ci-lite
53+
uses: pre-commit-ci/lite-action@v1.2.0
54+
if: always()

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ repos:
9898
- id: ruff-format
9999

100100
- repo: https://github.com/cursorless-dev/talon-tools
101-
rev: v0.11.2
101+
rev: v0.12.1
102102
hooks:
103103
- id: talon-fmt
104104
- id: tree-sitter-fmt

‎resources/queries/html.scm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
[
2626
(quoted_attribute_value)
2727
(attribute_value)
28-
] ? @collectionKey.trailing.startOf
28+
]? @collectionKey.trailing.startOf
2929
) @collectionKey.domain
3030

3131
;;!! <aaa value=2>

‎resources/queries/kotlin.scm‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
[
415415
(line_comment)
416416
(multiline_comment)
417-
] *
417+
]*
418418
.
419419
(parameter_modifiers)? @argumentOrParameter.start
420420
.
@@ -423,7 +423,7 @@
423423
[
424424
(line_comment)
425425
(multiline_comment)
426-
] *
426+
]*
427427
.
428428
[
429429
","
@@ -472,7 +472,7 @@
472472
[
473473
(line_comment)
474474
(multiline_comment)
475-
] *
475+
]*
476476
.
477477
(parameter_modifiers)? @argumentOrParameter.start.startOf
478478
.
@@ -484,7 +484,7 @@
484484
[
485485
(line_comment)
486486
(multiline_comment)
487-
] *
487+
]*
488488
.
489489
[
490490
","

0 commit comments

Comments
 (0)