From 72f90a6526cdb66afe9f3987dfbde3a6fbaa25b2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 16:49:02 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit: v4.6.0 โ†’ v4.6.1](https://github.com/pre-commit/pre-commit/compare/v4.6.0...v4.6.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.12 โ†’ v0.16.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.16.2) - [github.com/astral-sh/uv-pre-commit: 0.11.12 โ†’ 0.12.3](https://github.com/astral-sh/uv-pre-commit/compare/0.11.12...0.12.3) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7cca2c3..d398e68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ fail_fast: false repos: - repo: https://github.com/pre-commit/pre-commit - rev: v4.6.0 + rev: v4.6.1 hooks: - id: validate_manifest name: ๐Ÿ› ๏ธ pre-commit ยท Validate pre-commit configuration @@ -57,9 +57,9 @@ repos: - id: ruff-format name: ๐Ÿ ruff ยท Format Python code repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.16.2 - hooks: - id: uv-lock name: ๐Ÿ uv ยท Lock dependencies repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.11.12 + rev: 0.12.3 From c0a835ff8a613ddcd470608174d4d943f391f79c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 16:49:15 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/debug_dojo/_cli.py | 4 ++-- src/debug_dojo/_execution.py | 2 +- tests/cli/test_cli_functionalities.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/debug_dojo/_cli.py b/src/debug_dojo/_cli.py index 935a976..f488114 100644 --- a/src/debug_dojo/_cli.py +++ b/src/debug_dojo/_cli.py @@ -9,7 +9,7 @@ from rich import print as rich_print from debug_dojo._config import load_config -from debug_dojo._config_models import DebuggerType # noqa: TC001 +from debug_dojo._config_models import DebuggerType from debug_dojo._execution import ExecMode, execute_with_debug cli = typer.Typer( @@ -24,7 +24,7 @@ no_args_is_help=True, context_settings={"allow_extra_args": True, "ignore_unknown_options": True}, ) -def run( # noqa: PLR0913 +def run( ctx: typer.Context, target_name: Annotated[ str | None, diff --git a/src/debug_dojo/_execution.py b/src/debug_dojo/_execution.py index db61c5a..3e83f1d 100644 --- a/src/debug_dojo/_execution.py +++ b/src/debug_dojo/_execution.py @@ -113,7 +113,7 @@ def _handle_exception(e: Exception, target_name: str, config: DebugDojoConfig) - rich_print(f"[red]Error while running {target_name}:[/red]\n{e}") rich_print(traceback.format_exc()) if config.exceptions.post_mortem: - import ipdb # pyright: ignore[reportMissingTypeStubs] # noqa: PLC0415, T100 + import ipdb # pyright: ignore[reportMissingTypeStubs] # noqa: T100 rich_print("[blue]Entering post-mortem debugging session...[/blue]") ipdb.post_mortem(e.__traceback__) # pyright: ignore[reportUnknownMemberType] diff --git a/tests/cli/test_cli_functionalities.py b/tests/cli/test_cli_functionalities.py index 92e600b..64dcd22 100644 --- a/tests/cli/test_cli_functionalities.py +++ b/tests/cli/test_cli_functionalities.py @@ -5,7 +5,7 @@ from debug_dojo._cli import cli -def _breakpoint_ipdb( # noqa: PLR0913, PLR0917 # pyright: ignore[reportUnusedFunction] +def _breakpoint_ipdb( # pyright: ignore[reportUnusedFunction] runner: CliRunner, test_config_path: str, test_target_breakpoint: str,