From 796a6cc28fa1138857c43817c389cd503cdf0820 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:50:25 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/python-jsonschema/check-jsonschema: 0.36.1 → 0.36.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.36.1...0.36.2) - [github.com/tox-dev/tox-toml-fmt: v1.5.2 → v1.6.0](https://github.com/tox-dev/tox-toml-fmt/compare/v1.5.2...v1.6.0) - [github.com/tox-dev/pyproject-fmt: v2.14.2 → v2.16.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.14.2...v2.16.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.0 → v0.15.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.0...v0.15.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a5b05e..e6115b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.36.1 + rev: 0.36.2 hooks: - id: check-github-workflows args: ["--verbose"] @@ -15,15 +15,15 @@ repos: - id: codespell additional_dependencies: ["tomli>=2.3"] - repo: https://github.com/tox-dev/tox-toml-fmt - rev: "v1.5.2" + rev: "v1.6.0" hooks: - id: tox-toml-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.14.2" + rev: "v2.16.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.0" + rev: "v0.15.1" hooks: - id: ruff-format - id: ruff-check From 4d514df1b2c79d5a384cf246a948df77b0f775d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:50:45 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 12 ++++++------ src/pipdeptree/_freeze.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2f91f60..5eba755 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,18 +119,18 @@ ignore-words-list = "master" max_supported_python = "3.14" [tool.coverage] -html.show_contexts = true -html.skip_covered = false +run.parallel = true +run.plugins = [ + "covdefaults", +] paths.source = [ "src", ".tox/*/lib/python*/site-packages", "*/src", ] -run.parallel = true -run.plugins = [ - "covdefaults", -] report.fail_under = 88 +html.show_contexts = true +html.skip_covered = false subtract_omit = "*/__main__.py" [tool.mypy] diff --git a/src/pipdeptree/_freeze.py b/src/pipdeptree/_freeze.py index e6aea91..6c5a53e 100644 --- a/src/pipdeptree/_freeze.py +++ b/src/pipdeptree/_freeze.py @@ -6,8 +6,8 @@ from typing import TYPE_CHECKING, Any from pip._internal.models.direct_url import ( - DirectUrl, # noqa: PLC2701 - DirectUrlValidationError, # noqa: PLC2701 + DirectUrl, + DirectUrlValidationError, ) from pip._internal.utils.egg_link import egg_link_path_from_sys_path # noqa: PLC2701 from pip._vendor.packaging.version import Version # noqa: PLC2701 From 343fae7300d33718b4bea35033bec7daced22c69 Mon Sep 17 00:00:00 2001 From: Kemal Zebari Date: Mon, 16 Feb 2026 18:19:46 -0800 Subject: [PATCH 3/3] Define ignore rule in import line --- src/pipdeptree/_freeze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipdeptree/_freeze.py b/src/pipdeptree/_freeze.py index 6c5a53e..a636b67 100644 --- a/src/pipdeptree/_freeze.py +++ b/src/pipdeptree/_freeze.py @@ -5,7 +5,7 @@ from pathlib import Path from typing import TYPE_CHECKING, Any -from pip._internal.models.direct_url import ( +from pip._internal.models.direct_url import ( # noqa: PLC2701 DirectUrl, DirectUrlValidationError, )