Skip to content

Commit

Permalink
Renovate: astral-sh/ruff-pre-commit to v0.1.15 (#294)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[astral-sh/ruff-pre-commit](https://togithub.com/astral-sh/ruff-pre-commit)
| repository | patch | `v0.1.14` -> `v0.1.15` |

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://togithub.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.1.15`](https://togithub.com/astral-sh/ruff-pre-commit/releases/tag/v0.1.15)

[Compare
Source](https://togithub.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.1.15)

See: https://github.com/astral-sh/ruff/releases/tag/v0.1.15

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the
month" (UTC), Automerge - "every weekday" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/UCL-ARC/python-tooling).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Stansby <dstansby@gmail.com>
  • Loading branch information
renovate[bot] and dstansby authored Feb 1, 2024
1 parent 5519017 commit c996d51
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.1.15
hooks:
- id: ruff
args:
Expand Down
1 change: 1 addition & 0 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def main(initialise_git_repository: str) -> int:
Returns:
The return code of the process
"""
if initialise_git_repository == "True":
try:
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def project_config() -> dict:
dict
dictionary with values for the cookiecutter template,
as defined in the cookiecutter.json
"""
return {
"github_username": "test-user",
Expand Down
1 change: 1 addition & 0 deletions tests/test_git_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_initialisation_of_git_repo(
as defined in the cookiecutter.json
git_init_cookiecutter_option: A string defined in cookiecutter.json,
which determines if git should be initialised or not
"""
# Run cookiecutter with initialise_git_repository
cookie = subprocess.run(
Expand Down
1 change: 1 addition & 0 deletions tests/test_package_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_package_generation(
Note that 'tmp_path' pytest fixture is preferred over 'tmpdir'
(see https://docs.pytest.org/en/7.3.x/how-to/tmp_path.html#the-tmpdir-and-tmpdir-factory-fixtures)
"""
# Run cookiecutter with project_slug set to the value in the project config
subprocess.run(
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.1.15
hooks:
- id: ruff
- id: ruff-format
Expand Down

0 comments on commit c996d51

Please sign in to comment.