Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 5 additions & 3 deletions src/cpac/backends/container_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading