From f61cad954ccb8fcc304264ef8c8dae9d8e97a593 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 17 Nov 2024 18:06:11 -0500 Subject: [PATCH] ci(pre-commit.ci): autoupdate (#198) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci(pre-commit.ci): autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.7.2) * update * update --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Talley Lambert --- .pre-commit-config.yaml | 4 ++-- src/useq/_grid.py | 2 +- src/useq/_plate.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 68e7f87..3d01f24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,12 +7,12 @@ default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.22 + rev: v0.23 hooks: - id: validate-pyproject - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.7.4 hooks: - id: ruff args: [--fix, --unsafe-fixes] diff --git a/src/useq/_grid.py b/src/useq/_grid.py index 4addc35..bfc7036 100644 --- a/src/useq/_grid.py +++ b/src/useq/_grid.py @@ -17,7 +17,7 @@ ) import numpy as np -from annotated_types import Ge, Gt # noqa: TCH002 +from annotated_types import Ge, Gt from pydantic import Field, field_validator, model_validator from useq._point_visiting import OrderMode, TraversalOrder diff --git a/src/useq/_plate.py b/src/useq/_plate.py index 61dddca..c86ffaf 100644 --- a/src/useq/_plate.py +++ b/src/useq/_plate.py @@ -15,7 +15,7 @@ ) import numpy as np -from annotated_types import Gt # noqa: TCH002 +from annotated_types import Gt from pydantic import ( Field, ValidationInfo,