From 43b84a6834f6a32574cf76adcea9f19cc0cda177 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:49:07 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.10.0 → 23.10.1](https://github.com/psf/black/compare/23.10.0...23.10.1) - [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.1...v0.1.3) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 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] From 8711797dbe3f4499b4f1ae800947a5506ef23f69 Mon Sep 17 00:00:00 2001 From: Luca Marconato Date: Thu, 2 Nov 2023 19:16:28 +0100 Subject: [PATCH 2/2] fixed points test range due to new padding of blobs --- tests/core/test_data_extent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"), )