Skip to content

Commit 42fc068

Browse files
PasteurBotapaleyes
andauthored
chore: ⚠️ Update pre-commit hooks [review required] (#50)
Pre-commit is unable to automatically update the hooks due to unresolvable conflicts. Please review the changes and merge manually. Log: ``` check for added large files..........................(no files to check)Skipped check json...............................................................Passed check toml...............................................................Passed check yaml...............................................................Passed detect private key.......................................................Passed fix end of files.........................................................Passed trim trailing whitespace.................................................Passed ruff (legacy alias)......................................................Failed - hook id: ruff - exit code: 1 tesseract_jax/primitive.py:48:76: RUF028 This suppression comment is invalid because it cannot be in an expression, pattern, argument list, or other non-statement | 46 | array_args = tuple( 47 | arg 48 | for arg, is_static in zip(flat_args, is_static_mask, strict=True) # fmt: skip | ^^^^^^^^^^^ RUF028 49 | if not is_static 50 | ) | = help: Remove this comment Found 1 error. No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option). ruff format..............................................................Passed update-uv-env............................................................Passed update-requirements......................................................Passed ``` --------- Co-authored-by: Andrei Paleyes <[email protected]>
1 parent 116937d commit 42fc068

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828

2929
- repo: https://github.com/astral-sh/ruff-pre-commit
3030
# Ruff version.
31-
rev: v0.11.13
31+
rev: v0.12.0
3232
hooks:
3333
# Run the linter.
3434
- id: ruff

tesseract_jax/primitive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def split_args(
4545
)
4646
array_args = tuple(
4747
arg
48-
for arg, is_static in zip(flat_args, is_static_mask, strict=True) # fmt: skip
48+
for arg, is_static in zip(flat_args, is_static_mask, strict=True)
4949
if not is_static
5050
)
5151

0 commit comments

Comments
 (0)