From 56717657eeec73ba3901aaa3bc214e4284dc9aca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:05:59 +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: - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.5.1](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...26.5.1) - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/PyCQA/flake8: 7.1.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.1.1...7.3.0) - [github.com/pre-commit/mirrors-mypy: v1.14.1 → v2.3.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v2.3.1) - [github.com/packit/pre-commit-hooks: v1.2.0 → v1.3.0](https://github.com/packit/pre-commit-hooks/compare/v1.2.0...v1.3.0) - [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.38.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.1...0.38.0) - [github.com/Lucas-C/pre-commit-hooks: v1.5.5 → v1.5.6](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.5...v1.5.6) - [github.com/teemtee/tmt.git: 1.41.0 → 1.77.0](https://github.com/teemtee/tmt.git/compare/1.41.0...1.77.0) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db81514..4078412 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,8 +7,8 @@ repos: rev: v3.21.2 hooks: - id: pyupgrade - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.5.1 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier @@ -17,7 +17,7 @@ repos: - id: prettier exclude: tests/data/.+ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -27,33 +27,33 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 exclude: examples args: - --max-line-length=100 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v2.3.1 hooks: - id: mypy exclude: examples args: [--no-strict-optional, --ignore-missing-imports] additional_dependencies: [types-click, types-requests, types-PyYAML] - repo: https://github.com/packit/pre-commit-hooks - rev: v1.2.0 + rev: v1.3.0 hooks: - id: check-rebase args: - https://github.com/packit/requre.git stages: [manual, pre-push] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.31.1 + rev: 0.38.0 hooks: - id: check-github-workflows args: ["--verbose"] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.5 + rev: v1.5.6 hooks: - id: insert-license files: \.py$ @@ -63,7 +63,7 @@ repos: - --comment-style - "#" - repo: https://github.com/teemtee/tmt.git - rev: 1.41.0 + rev: 1.77.0 hooks: - id: tmt-lint # Do not run in pre-commit.ci as it requires an internet access From a3888c837fcdb74c090c1e13c8e3b7de5a2d9eb7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:10:06 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- requre/objects.py | 1 - tests/test_e2e_test_patching.py | 1 - 2 files changed, 2 deletions(-) diff --git a/requre/objects.py b/requre/objects.py index 92ba642..4cd96a9 100644 --- a/requre/objects.py +++ b/requre/objects.py @@ -16,7 +16,6 @@ CassetteExecution, ) - logger = logging.getLogger(__name__) diff --git a/tests/test_e2e_test_patching.py b/tests/test_e2e_test_patching.py index 58aeae3..7601f3b 100644 --- a/tests/test_e2e_test_patching.py +++ b/tests/test_e2e_test_patching.py @@ -15,7 +15,6 @@ ENV_REPLACEMENT_NAME, ) - CMD_RELATIVE = f"""python3 {os.path.join(os.path.dirname(os.path.dirname(__file__)), "requre", "requre_patch.py")}""" CMD_TOOL = "requre-patch"