diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 820e6fe..3b2a834 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.23 hooks: - id: validate-pyproject - repo: https://github.com/crate-ci/typos - rev: v1.23.6 + rev: typos-dict-v0.12.4 hooks: - id: typos args: [--force-exclude] # omitting --write-changes - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.9.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.14.1 hooks: - id: mypy files: "^src/" 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")