Skip to content

Commit

Permalink
chore(pre-commit-deps): pre-commit autoupdate (#243)
Browse files Browse the repository at this point in the history
* chore(pre-commit-deps): pre-commit autoupdate

updates:
- [github.com/renovatebot/pre-commit-hooks: f7cc6cd690acad87f8380296cdad60cf1857eeb3 → ecfbf589c737d3b1d6038e19fead757c657f22aa](renovatebot/pre-commit-hooks@f7cc6cd...ecfbf58)
- [github.com/Mateusz-Grzelinski/actionlint-py: a1faddedc7c21fa1a5b9bb42e1c3ddbe94e96aa3 → 060504a904804d5314d4db5dd12aa8751717ffc7](Mateusz-Grzelinski/actionlint-py@a1fadde...060504a)
- [github.com/pappasam/toml-sort: 463d576e0d409069bfdfcdf65acece4b8a0a3df7 → 4ec24891e200ae663aa2a7cecd19516080777133](pappasam/toml-sort@463d576...4ec2489)
- [github.com/astral-sh/ruff-pre-commit: cafecb2f683a620516412e109877570ca7648cbd → 0710b94280408eef12748cde4782972942370ad2](astral-sh/ruff-pre-commit@cafecb2...0710b94)

* 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 <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and nfelt14 authored Nov 26, 2024
1 parent d7ce5ab commit 04b5581
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down Expand Up @@ -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
Expand All @@ -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]
Expand Down
7 changes: 4 additions & 3 deletions tests/test_update_development_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 04b5581

Please sign in to comment.