Skip to content

Commit ef53f78

Browse files
authored
chore: remove renovate hook (#4797)
1 parent 50007a7 commit ef53f78

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ci:
77
skip:
88
# https://github.com/pre-commit-ci/issues/issues/55
99
- pyright
10-
- renovate-config-validator # container limits
1110
- tombi-format
1211
- tombi-lint
1312
- schemas
@@ -31,7 +30,7 @@ repos:
3130
hooks:
3231
- id: check-useless-excludes
3332
- repo: https://github.com/astral-sh/uv-pre-commit
34-
rev: 0.8.17
33+
rev: 0.8.22
3534
hooks:
3635
- id: uv-sync
3736
- id: uv-lock
@@ -57,12 +56,6 @@ repos:
5756
- "--no-hashes"
5857
- "-o"
5958
- ".config/requirements-lock.txt"
60-
- repo: https://github.com/renovatebot/pre-commit-hooks
61-
rev: 41.115.2
62-
hooks:
63-
- id: renovate-config-validator
64-
alias: renovate
65-
args: [--strict]
6659
- repo: https://github.com/biomejs/pre-commit
6760
rev: "v2.2.4"
6861
hooks:
@@ -85,7 +78,7 @@ repos:
8578
]
8679
name: cspell + remove unused and sort dictionary
8780
- repo: https://github.com/python-jsonschema/check-jsonschema
88-
rev: 0.33.3
81+
rev: 0.34.0
8982
hooks:
9083
- id: check-github-workflows
9184
- repo: https://github.com/pre-commit/pre-commit-hooks.git
@@ -151,22 +144,22 @@ repos:
151144
entry: yamllint --strict
152145

153146
- repo: https://github.com/tombi-toml/tombi-pre-commit
154-
rev: v0.6.17
147+
rev: v0.6.19
155148
hooks:
156149
- id: tombi-format
157150
alias: toml
158151
- id: tombi-lint
159152
alias: toml
160153

161154
- repo: https://github.com/astral-sh/ruff-pre-commit
162-
rev: v0.13.0
155+
rev: v0.13.2
163156
hooks:
164157
- id: ruff-format
165158
alias: ruff
166159
- id: ruff-check
167160
alias: ruff
168161
- repo: https://github.com/pre-commit/mirrors-mypy
169-
rev: v1.18.1
162+
rev: v1.18.2
170163
hooks:
171164
- id: mypy
172165
# "." and pass_files are used to make pre-commit mypy behave the same as standalone mypy

src/ansiblelint/_internal/rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def getmatches(self, file: Lintable) -> list[MatchError]:
108108
"Ignored exception from %s.%s while processing %s: %s",
109109
self.__class__.__name__,
110110
method.__name__,
111-
str(file),
111+
file,
112112
exc,
113113
)
114114
_logger.debug("Ignored exception details", exc_info=True)

src/ansiblelint/yaml_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def _get_path_to_task_in_nested_tasks_block(
492492
nested_task_block = task[task_key]
493493
if task_key not in nested_task_keys or not nested_task_block:
494494
continue
495-
next_task_key = task_keys_by_index.get(task_index + 1, None)
495+
next_task_key = task_keys_by_index.get(task_index + 1)
496496
if next_task_key is not None:
497497
if task.lc.data[next_task_key][2] < lineno:
498498
continue

0 commit comments

Comments
 (0)