diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b6c086b..073dbf1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: hooks: - id: taplo-format - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.7.3 hooks: - id: ruff types_or: [python, jupyter] @@ -53,6 +53,6 @@ repos: - tomli - repo: https://github.com/kynan/nbstripout - rev: '0.7.1' + rev: '0.8.0' hooks: - id: nbstripout diff --git a/ipylab/log.py b/ipylab/log.py index 88eb205..942291c 100644 --- a/ipylab/log.py +++ b/ipylab/log.py @@ -79,7 +79,7 @@ class OutputError(OutputBase): output_type: Literal["error"] ename: str evalue: str - traceback: list[str] + traceback: list[str] | None OutputTypes = OutputDisplayData | OutputStream | OutputError