From 65ff9e10a126c9cd3f8895d9c3e498e2f9b67f25 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 21:32:08 +0000 Subject: [PATCH 1/2] ci(pre-commit.ci): autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/abravalheri/validate-pyproject: v0.18 → v0.25](https://github.com/abravalheri/validate-pyproject/compare/v0.18...v0.25) - [github.com/crate-ci/typos: v1.23.6 → v1](https://github.com/crate-ci/typos/compare/v1.23.6...v1) - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.15.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.15.4) - [github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.1...v1.19.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 820e6fe..63c44a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,25 +5,25 @@ ci: repos: - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.18 + rev: v0.25 hooks: - id: validate-pyproject - repo: https://github.com/crate-ci/typos - rev: v1.23.6 + rev: v1 hooks: - id: typos args: [--force-exclude] # omitting --write-changes - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.15.4 hooks: - id: ruff args: [--fix] # may also add '--unsafe-fixes' - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.19.1 hooks: - id: mypy files: "^src/" From b46d840d443a37921fe24f7e0e363fd18d446641 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 21:42:09 +0000 Subject: [PATCH 2/2] style(pre-commit.ci): auto fixes [...] --- src/pycudadecon/__init__.py | 6 +++--- src/pycudadecon/util.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pycudadecon/__init__.py b/src/pycudadecon/__init__.py index 566a6f0..4545e27 100755 --- a/src/pycudadecon/__init__.py +++ b/src/pycudadecon/__init__.py @@ -40,16 +40,16 @@ def __getattr__(self, name: str) -> Any: from .otf import TemporaryOTF, make_otf __all__ = [ + "RLContext", + "TemporaryOTF", "__version__", "affineGPU", "decon", "deskewGPU", "make_otf", "rl_cleanup", + "rl_context", "rl_decon", "rl_init", - "RLContext", - "rl_context", "rotateGPU", - "TemporaryOTF", ] diff --git a/src/pycudadecon/util.py b/src/pycudadecon/util.py index b8c4322..29eedf8 100644 --- a/src/pycudadecon/util.py +++ b/src/pycudadecon/util.py @@ -77,7 +77,7 @@ def is_otf(arr_or_fpath: PathOrArray) -> bool: @contextmanager def stdout_redirected(to: str = os.devnull) -> Iterator[None]: """ - import os. + Import os. with stdout_redirected(to=filename): print("from Python")