From 94fac89f5c470d8b55bab74261be8cc93207cf35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:54:44 +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/python-jsonschema/check-jsonschema: 0.36.1 → 0.37.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.36.1...0.37.0) - [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.16.2](https://github.com/tox-dev/pyproject-fmt/compare/v2.11.1...v2.16.2) - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.4) --- .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 bde487e..2d23daf 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.37.0 hooks: - id: check-github-workflows args: ["--verbose"] @@ -15,11 +15,11 @@ repos: - id: codespell additional_dependencies: ["tomli>=2.4"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.11.1" + rev: "v2.16.2" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.14" + rev: "v0.15.4" hooks: - id: ruff-format - id: ruff From c2e0226cb657d374c2e8f97dc20ca6d48bc5468f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:56:38 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ab8d286..c674f5e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,31 +129,20 @@ count = true [tool.pyproject-fmt] max_supported_python = "3.14" -[tool.pytest.ini_options] -markers = [ "graalpy" ] +[tool.pytest] +ini_options.markers = [ "graalpy" ] [tool.coverage] -run.source = [ - "python_discovery", - "tests", -] -run.dynamic_context = "test_function" run.branch = true +run.dynamic_context = "test_function" run.parallel = true run.plugins = [ "covdefaults", ] -report.fail_under = 100 -report.show_missing = true -report.partial_branches = [ - "assert any\\(", -] -report.omit = [ - "src/python_discovery/_windows/*", - "tests/windows/*", +run.source = [ + "python_discovery", + "tests", ] -html.show_contexts = true -html.skip_covered = false paths.source = [ "src", ".tox*/*/lib/python*/site-packages", @@ -162,6 +151,17 @@ paths.source = [ "*/src", "*\\src", ] +report.fail_under = 100 +report.omit = [ + "src/python_discovery/_windows/*", + "tests/windows/*", +] +report.partial_branches = [ + "assert any\\(", +] +report.show_missing = true +html.show_contexts = true +html.skip_covered = false [tool.ty] src.exclude = [ "tests/windows/winreg_mock_values.py" ]