From 1cb88c642c45919889c0060beca3eec35476bd35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 19:36:55 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#391) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Luca Marconato --- .pre-commit-config.yaml | 4 ++-- tests/core/test_data_extent.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0aa59803..89e11456 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: skip: [] repos: - repo: https://github.com/psf/black - rev: 23.10.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier @@ -27,7 +27,7 @@ repos: additional_dependencies: [numpy, types-requests] exclude: tests/|docs/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.1 + rev: v0.1.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/tests/core/test_data_extent.py b/tests/core/test_data_extent.py index 204138c1..3b0477cc 100644 --- a/tests/core/test_data_extent.py +++ b/tests/core/test_data_extent.py @@ -59,8 +59,8 @@ def test_get_extent_points(): extent = get_extent(sdata["blobs_points"]) check_test_results0( extent, - min_coordinates=np.array([12.0, 13.0]), - max_coordinates=np.array([500.0, 498.0]), + min_coordinates=np.array([3.0, 4.0]), + max_coordinates=np.array([509.0, 507.0]), axes=("x", "y"), )