Skip to content

Commit 3c4fcc0

Browse files
chore(deps): renovate: astral-sh/ruff-pre-commit to v0.9.4 (#514)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | minor | `v0.8.5` -> `v0.9.4` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)</summary> ### [`v0.9.4`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.9.4) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.9.4) See: https://github.com/astral-sh/ruff/releases/tag/0.9.4 ### [`v0.9.3`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.9.3) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.3) See: https://github.com/astral-sh/ruff/releases/tag/0.9.3 ### [`v0.9.2`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.9.2) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.9.1...v0.9.2) See: https://github.com/astral-sh/ruff/releases/tag/0.9.2 ### [`v0.9.1`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.9.1) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.9.0...v0.9.1) See: https://github.com/astral-sh/ruff/releases/tag/0.9.1 ### [`v0.9.0`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.9.0) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.0) See: https://github.com/astral-sh/ruff/releases/tag/0.9.0 ### [`v0.8.6`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.8.6) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.8.5...v0.8.6) See: https://github.com/astral-sh/ruff/releases/tag/0.8.6 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 1 * *" (UTC), Automerge - "* * * * 1-5" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/UCL-ARC/python-tooling). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6cc96e0 commit 3c4fcc0

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: ^{{cookiecutter.project_slug}}/|^tests/data/test_package_generation/
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.8.5
4+
rev: v0.9.4
55
hooks:
66
- id: ruff
77
args:

tests/data/test_package_generation/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.8.5
3+
rev: v0.9.4
44
hooks:
55
- id: ruff
66
- id: ruff-format

tests/test_git_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_initialisation_of_git_repo(
5959
"GitHub CLI detected, you can create a repo with the following:\n\n"
6060
f"gh repo create {test_config['github_owner']}/"
6161
f"cookiecutter-test -d "
62-
f"\"{test_config['project_short_description']}\" --public -r "
62+
f'"{test_config["project_short_description"]}" --public -r '
6363
f"origin --source cookiecutter-test" in result.stdout
6464
)
6565
except FileNotFoundError:

tests/test_package_generation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def test_pip_installable(
118118
capture_output=True,
119119
check=False,
120120
)
121-
assert (
122-
pipinstall.returncode == 0
123-
), f"Something went wrong with installation: {pipinstall.stderr!r}"
121+
assert pipinstall.returncode == 0, (
122+
f"Something went wrong with installation: {pipinstall.stderr!r}"
123+
)
124124

125125

126126
@pytest.mark.parametrize("funder", ["", "STFC"])

{{cookiecutter.project_slug}}/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.8.5
3+
rev: v0.9.4
44
hooks:
55
- id: ruff
66
- id: ruff-format

0 commit comments

Comments
 (0)