From 2d96f9adf9603117be5ce32161418b3881b5fe60 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:10:51 +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/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.4.2...26.1.0) - [github.com/igorshubovych/markdownlint-cli: v0.41.0 → v0.47.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.41.0...v0.47.0) - [github.com/pycqa/flake8: 7.0.0 → 7.3.0](https://github.com/pycqa/flake8/compare/7.0.0...7.3.0) - [github.com/PyCQA/isort: 5.13.2 → 7.0.0](https://github.com/PyCQA/isort/compare/5.13.2...7.0.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62a7aa3..5c49703 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,30 +5,30 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-ast - id: trailing-whitespace - id: end-of-file-fixer - id: mixed-line-ending - id: check-added-large-files - - repo: https://github.com/psf/black - rev: 24.4.2 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.41.0 + rev: v0.47.0 hooks: - id: markdownlint - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 args: - "--max-line-length=88" - "--ignore=E203" - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 7.0.0 hooks: - id: isort args: From 947b937eddb7e8181d589cf83f455fca0d5325f7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:11:04 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- stitching/images.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stitching/images.py b/stitching/images.py index 2be6f4e..d27ea7e 100644 --- a/stitching/images.py +++ b/stitching/images.py @@ -33,10 +33,8 @@ def of( elif Images.check_list_element_types(images, str): return _FilenameImages(images, medium_megapix, low_megapix, final_megapix) else: - raise StitchingError( - """invalid images list: - must be numpy arrays (loaded images) or filename strings""" - ) + raise StitchingError("""invalid images list: + must be numpy arrays (loaded images) or filename strings""") @abstractmethod def __init__(self, images, medium_megapix, low_megapix, final_megapix):