Skip to content

Commit

Permalink
chore: update pre-commit hooks (#2286)Co-authored-by: pre-commit-ci[b…
Browse files Browse the repository at this point in the history
…ot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore: update pre-commit hooks

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.253 → v0.0.254](astral-sh/ruff-pre-commit@v0.0.253...v0.0.254)

* style: pre-commit fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 7, 2023
1 parent f6bd146 commit 5f5c3f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
- id: flake8

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.253
rev: v0.0.254
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 1 addition & 1 deletion src/awkward/jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def register_and_check():
Register Awkward Array node types with JAX's tree mechanism.
"""
try:
import jax # noqa: TID251, F401
import jax # noqa: TID251

except ModuleNotFoundError:
raise wrap_error(
Expand Down

0 comments on commit 5f5c3f4

Please sign in to comment.