diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f36105398e..8e4d02f92c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,23 +2,23 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell additional_dependencies: - tomli - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.2.0 hooks: - id: flake8 diff --git a/pydra/engine/helpers_state.py b/pydra/engine/helpers_state.py index 866d408a46..eb98ccb863 100644 --- a/pydra/engine/helpers_state.py +++ b/pydra/engine/helpers_state.py @@ -632,7 +632,7 @@ def inputs_types_to_dict(name, inputs): def unwrap_splitter( - splitter: ty.Union[str, ty.List[str], ty.Tuple[str, ...]] + splitter: ty.Union[str, ty.List[str], ty.Tuple[str, ...]], ) -> ty.Iterable[str]: """Unwraps a splitter into a flat list of fields that are split over, i.e. [("a", "b"), "c"] -> ["a", "b", "c"] diff --git a/pydra/mark/functions.py b/pydra/mark/functions.py index e191a61809..71a95d4450 100644 --- a/pydra/mark/functions.py +++ b/pydra/mark/functions.py @@ -1,4 +1,4 @@ -""" Decorators to apply to functions used in Pydra workflows """ +"""Decorators to apply to functions used in Pydra workflows""" from functools import wraps diff --git a/pydra/tasks/__init__.py b/pydra/tasks/__init__.py index fae53c2d92..2f9865ec2c 100644 --- a/pydra/tasks/__init__.py +++ b/pydra/tasks/__init__.py @@ -1,4 +1,4 @@ -""" Pydra tasks +"""Pydra tasks The ``pydra.tasks`` namespace is reserved for collections of Tasks, to be managed and packaged separately.