Skip to content

Commit

Permalink
Revert "pre-commit.ci: update pre-commit hooks (#477)"
Browse files Browse the repository at this point in the history
This reverts commit d22271d.
  • Loading branch information
paddyroddy committed Jan 16, 2025
1 parent ea084bc commit 2c38f3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
args:
- --strict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.1
rev: v0.8.6
hooks:
- id: ruff
- id: ruff-format
Expand Down
2 changes: 1 addition & 1 deletion glass/core/array.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Module for array utilities.""" # noqa: A005
"""Module for array utilities."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion glass/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def effective_cls(
shape1, shape2 = weights1.shape, weights2.shape
for i, shape in enumerate((shape1, shape2)):
if not shape or shape[0] != n:
msg = f"shape mismatch between fields and weights{i + 1}"
msg = f"shape mismatch between fields and weights{i+1}"
raise ValueError(msg)

# get the iterator over leading weight axes
Expand Down

0 comments on commit 2c38f3d

Please sign in to comment.