diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d2479b0c..963be403 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,14 +9,14 @@ fail_fast: false repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.4 + rev: v0.15.17 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.0 + rev: v2.1.0 hooks: - id: mypy additional_dependencies: @@ -25,7 +25,7 @@ repos: - types-PyYAML args: [--python-version=3.10, --ignore-missing-imports] - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.15.0 + rev: v2.16.0 hooks: - id: pretty-format-yaml args: @@ -39,7 +39,7 @@ repos: - --no-sort - repo: https://github.com/python-poetry/poetry - rev: 2.1.3 + rev: 2.4.1 hooks: - id: poetry-check - id: poetry-lock @@ -59,7 +59,7 @@ repos: always_run: true - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-case-conflict - id: end-of-file-fixer diff --git a/src/cpac/backends/container_platform.py b/src/cpac/backends/container_platform.py index e1435cab..6be39942 100644 --- a/src/cpac/backends/container_platform.py +++ b/src/cpac/backends/container_platform.py @@ -354,9 +354,11 @@ def _load_logging(self): textwrap.indent( tabulate( table.applymap( - lambda x: ("\n".join(textwrap.wrap(x, 42))) - if isinstance(x, str) - else x + lambda x: ( + ("\n".join(textwrap.wrap(x, 42))) + if isinstance(x, str) + else x + ) ), headers="keys", showindex=False,