From 04b558147b1f736feea313a287ecf8a40419eee3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 09:01:18 -0800 Subject: [PATCH] chore(pre-commit-deps): pre-commit autoupdate (#243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(pre-commit-deps): pre-commit autoupdate updates: - [github.com/renovatebot/pre-commit-hooks: f7cc6cd690acad87f8380296cdad60cf1857eeb3 → ecfbf589c737d3b1d6038e19fead757c657f22aa](https://github.com/renovatebot/pre-commit-hooks/compare/f7cc6cd690acad87f8380296cdad60cf1857eeb3...ecfbf589c737d3b1d6038e19fead757c657f22aa) - [github.com/Mateusz-Grzelinski/actionlint-py: a1faddedc7c21fa1a5b9bb42e1c3ddbe94e96aa3 → 060504a904804d5314d4db5dd12aa8751717ffc7](https://github.com/Mateusz-Grzelinski/actionlint-py/compare/a1faddedc7c21fa1a5b9bb42e1c3ddbe94e96aa3...060504a904804d5314d4db5dd12aa8751717ffc7) - [github.com/pappasam/toml-sort: 463d576e0d409069bfdfcdf65acece4b8a0a3df7 → 4ec24891e200ae663aa2a7cecd19516080777133](https://github.com/pappasam/toml-sort/compare/463d576e0d409069bfdfcdf65acece4b8a0a3df7...4ec24891e200ae663aa2a7cecd19516080777133) - [github.com/astral-sh/ruff-pre-commit: cafecb2f683a620516412e109877570ca7648cbd → 0710b94280408eef12748cde4782972942370ad2](https://github.com/astral-sh/ruff-pre-commit/compare/cafecb2f683a620516412e109877570ca7648cbd...0710b94280408eef12748cde4782972942370ad2) * refactor: Run pre-commit to update file to pass linting/formatting --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Felt, Nicholas --- .pre-commit-config.yaml | 8 ++++---- tests/test_update_development_dependencies.py | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aaf5ff08..47735294 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - id: remove-tabs - id: forbid-tabs - repo: https://github.com/renovatebot/pre-commit-hooks - rev: f7cc6cd690acad87f8380296cdad60cf1857eeb3 # frozen: 39.20.3 + rev: ecfbf589c737d3b1d6038e19fead757c657f22aa # frozen: 39.30.0 hooks: - id: renovate-config-validator language_version: 20.18.0 # TODO: remove this line once https://github.com/renovatebot/pre-commit-hooks/issues/2460 is resolved @@ -54,7 +54,7 @@ repos: args: [--verbose] files: ^(\.github/workflows/[^/]+|workflows/[^/]+)$ - repo: https://github.com/Mateusz-Grzelinski/actionlint-py - rev: a1faddedc7c21fa1a5b9bb42e1c3ddbe94e96aa3 # frozen: v1.7.4.18 + rev: 060504a904804d5314d4db5dd12aa8751717ffc7 # frozen: v1.7.4.20 hooks: - id: actionlint additional_dependencies: [pyflakes, shellcheck-py] @@ -110,7 +110,7 @@ repos: hooks: - id: check-poetry - repo: https://github.com/pappasam/toml-sort - rev: 463d576e0d409069bfdfcdf65acece4b8a0a3df7 # frozen: v0.24.1 + rev: 4ec24891e200ae663aa2a7cecd19516080777133 # frozen: v0.24.2 hooks: - id: toml-sort-fix - repo: local @@ -137,7 +137,7 @@ repos: always_run: true args: [audit, --json, --ignore-code=CVE-2019-8341] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: cafecb2f683a620516412e109877570ca7648cbd # frozen: v0.7.4 + rev: 0710b94280408eef12748cde4782972942370ad2 # frozen: v0.8.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/tests/test_update_development_dependencies.py b/tests/test_update_development_dependencies.py index a5d05149..1bff6d95 100644 --- a/tests/test_update_development_dependencies.py +++ b/tests/test_update_development_dependencies.py @@ -323,9 +323,10 @@ def test_main_no_install_dependencies( monkeypatch: pytest.MonkeyPatch, ) -> None: """Test the main function.""" - with patch( - "subprocess.check_call" - ) as mock_subproc_call, monkeypatch.context() as mocked_context: + with ( + patch("subprocess.check_call") as mock_subproc_call, + monkeypatch.context() as mocked_context, + ): mocked_context.setenv("INPUT_EXPORT-DEPENDENCY-GROUPS", "") mocked_context.setenv("INPUT_PRE-COMMIT-HOOK-SKIP-LIST", "") mocked_context.setenv("INPUT_INSTALL-DEPENDENCIES", "false")