Skip to content

Commit e3585fa

Browse files
ci(pre-commit.ci): autoupdate (#245)
* ci(pre-commit.ci): autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.11 → v0.14.3](astral-sh/ruff-pre-commit@v0.12.11...v0.14.3) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.2](pre-commit/mirrors-mypy@v1.17.1...v1.18.2) * style(pre-commit.ci): auto fixes [...] * update again --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
1 parent 996034f commit e3585fa

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ repos:
1212
- id: validate-pyproject
1313

1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.12.11
15+
rev: v0.14.7
1616
hooks:
1717
- id: ruff-check
1818
args: [--fix, --unsafe-fixes]
1919
- id: ruff-format
2020

2121
- repo: https://github.com/pre-commit/mirrors-mypy
22-
rev: v1.17.1
22+
rev: v1.19.0
2323
hooks:
2424
- id: mypy
2525
files: "^src/"

src/useq/_grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def plot(
636636
rect = None
637637

638638
# Get polygon bounds for plotting
639-
min_x, min_y, max_x, max_y = self.poly.bounds
639+
_min_x, _min_y, _max_x, _max_y = self.poly.bounds
640640

641641
return plot_points(
642642
self,

src/useq/_plate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def __repr__(self) -> str:
452452
def _expression_repr(expr: tuple[Sequence[int], Sequence[int]]) -> _Repr:
453453
"""Try to represent an index expression as slice objects if possible."""
454454
e0, e1 = expr
455-
ptrn1, repeats = _find_pattern(e1)
455+
ptrn1, _repeats = _find_pattern(e1)
456456
if ptrn1 is None:
457457
return _Repr(str(expr))
458458
ptrn0 = e0[:: len(ptrn1)]

0 commit comments

Comments
 (0)