Skip to content

Commit 15e753c

Browse files
chore(deps): renovate: astral-sh/ruff-pre-commit to v0.12.1 (#553)
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.11.12` -> `v0.12.1` | 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.12.1`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.12.1) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.12.0...v0.12.1) See: https://github.com/astral-sh/ruff/releases/tag/0.12.1 ### [`v0.12.0`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.12.0) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.0) See: https://github.com/astral-sh/ruff/releases/tag/0.12.0 ### [`v0.11.13`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.11.13) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.11.13) See: https://github.com/astral-sh/ruff/releases/tag/0.11.13 </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - Monday through Friday ( * * * * 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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=--> --------- 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 172dde5 commit 15e753c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.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.11.12
4+
rev: v0.12.1
55
hooks:
66
- id: ruff
77
args:

hooks/post_gen_project.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ def main(initialise_git_repository: str, deploy_docs_to_github_pages: str) -> in
2222
if initialise_git_repository == "True":
2323
try:
2424
# initialise git repo
25-
subprocess.run( # noqa: S603
25+
subprocess.run(
2626
[ # noqa: S607
2727
"git",
2828
"init",
2929
],
3030
check=True,
3131
)
3232
# old versions of git still default to `master`
33-
subprocess.run( # noqa: S603
33+
subprocess.run(
3434
[ # noqa: S607
3535
"git",
3636
"branch",
@@ -51,7 +51,7 @@ def main(initialise_git_repository: str, deploy_docs_to_github_pages: str) -> in
5151

5252
try:
5353
# check for presence of GitHub CLI
54-
subprocess.run( # noqa: S603
54+
subprocess.run(
5555
[ # noqa: S607
5656
"gh",
5757
"--version",

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.11.12
3+
rev: v0.12.1
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
@@ -47,7 +47,7 @@ def test_initialisation_of_git_repo(
4747

4848
try:
4949
# check for presence of GitHub CLI
50-
subprocess.run( # noqa: S603
50+
subprocess.run(
5151
[ # noqa: S607
5252
"gh",
5353
"--version",

{{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.11.12
3+
rev: v0.12.1
44
hooks:
55
- id: ruff
66
- id: ruff-format

0 commit comments

Comments
 (0)