diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 85175bb..e641adc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,11 +4,11 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + 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.3.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: v1.19.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.37.1 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.70.0 hooks: - id: tmt-lint # Do not run in pre-commit.ci as it requires an internet access 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"