Skip to content

Commit 332dcdc

Browse files
renovate[bot]pre-commit-ci[bot]Qalthos
authored
chore(deps): update all dependencies (#4852)
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> Co-authored-by: Kate Case <[email protected]>
1 parent 36075fa commit 332dcdc

File tree

9 files changed

+1862
-1831
lines changed

9 files changed

+1862
-1831
lines changed

.config/requirements-lock.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# This file was autogenerated by uv via the following command:
22
# uv export --no-dev --no-emit-package ansible-core --no-emit-package resolvelib --no-emit-package ruamel-yaml-clib --no-emit-package tomli --no-emit-package typing-extensions --no-emit-project --no-hashes -o .config/requirements-lock.txt
3-
ansible-compat==25.8.2
3+
ansible-compat==25.11.0
44
# via ansible-lint
55
attrs==25.4.0
66
# via
77
# jsonschema
88
# referencing
9-
black==25.9.0
9+
black==25.11.0
1010
# via ansible-lint
1111
bracex==2.6
1212
# via wcmatch
1313
cffi==2.0.0
1414
# via
1515
# ansible-lint
1616
# cryptography
17-
click==8.3.0
17+
click==8.3.1
1818
# via black
1919
colorama==0.4.6 ; sys_platform == 'win32'
2020
# via click
@@ -66,7 +66,7 @@ referencing==0.37.0
6666
# ansible-lint
6767
# jsonschema
6868
# jsonschema-specifications
69-
rpds-py==0.28.0
69+
rpds-py==0.30.0
7070
# via
7171
# jsonschema
7272
# referencing

.github/workflows/redirects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
environment: release
1919
runs-on: ubuntu-24.04
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2222
- uses: actions/setup-python@v6
2323

2424
- name: Upgrade Python toolchain

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: python3 -m pip install --user "tox>=4.0.0"
4444

4545
- name: Check out src from Git
46-
uses: actions/checkout@v5
46+
uses: actions/checkout@v6
4747
with:
4848
fetch-depth: 0 # needed by setuptools-scm
4949
submodules: true

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
hooks:
3131
- id: check-useless-excludes
3232
- repo: https://github.com/astral-sh/uv-pre-commit
33-
rev: 0.9.7
33+
rev: 0.9.13
3434
hooks:
3535
- id: uv-sync
3636
- id: uv-lock
@@ -58,7 +58,7 @@ repos:
5858
- "-o"
5959
- ".config/requirements-lock.txt"
6060
- repo: https://github.com/biomejs/pre-commit
61-
rev: "v2.3.2"
61+
rev: "v2.3.8"
6262
hooks:
6363
- id: biome-check
6464
name: biome
@@ -79,7 +79,7 @@ repos:
7979
]
8080
name: cspell + remove unused and sort dictionary
8181
- repo: https://github.com/python-jsonschema/check-jsonschema
82-
rev: 0.34.1
82+
rev: 0.35.0
8383
hooks:
8484
- id: check-github-workflows
8585
- repo: https://github.com/pre-commit/pre-commit-hooks.git
@@ -153,7 +153,7 @@ repos:
153153
alias: toml
154154

155155
- repo: https://github.com/astral-sh/ruff-pre-commit
156-
rev: v0.14.3
156+
rev: v0.14.7
157157
hooks:
158158
- id: ruff-format
159159
alias: ruff
@@ -190,7 +190,7 @@ repos:
190190
- id: pyright
191191
additional_dependencies: *deps
192192
- repo: https://github.com/pycqa/pylint
193-
rev: v4.0.2
193+
rev: v4.0.3
194194
hooks:
195195
- id: pylint
196196
args:

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ansiblelint/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def get_version_warning() -> str:
316316
"https://api.github.com/repos/ansible/ansible-lint/releases/latest"
317317
)
318318
try:
319-
with urllib.request.urlopen(release_url) as url: # noqa: S310
319+
with urllib.request.urlopen(release_url) as url:
320320
data = json.load(url)
321321
with open(cache_file, "w", encoding="utf-8") as f:
322322
json.dump(data, f)

src/ansiblelint/loaders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ def load_ignore_txt(filepath: Path | None = None) -> dict[str, set[IgnoreRule]]:
8484
ignore_file = IGNORE_FILE.alternative
8585

8686
if ignore_file:
87-
with open(ignore_file, encoding="utf-8") as _ignore_file:
87+
with open(ignore_file, encoding="utf-8") as ignore_file_h:
8888
_logger.debug("Loading ignores from '%s'", ignore_file)
89-
for line in _ignore_file:
89+
for line in ignore_file_h:
9090
entry = line.split("#")[0].rstrip()
9191
if entry:
9292
try:

test/test_loaders.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def test_load_ignore_txt_default_success() -> None:
3535
with tempfile.TemporaryDirectory() as temporary_directory:
3636
ignore_file = Path(temporary_directory) / IGNORE_FILE.default
3737

38-
with ignore_file.open("w", encoding="utf-8") as _ignore_file:
39-
_ignore_file.write(
38+
with ignore_file.open("w", encoding="utf-8") as ignore_file_h:
39+
ignore_file_h.write(
4040
dedent(
4141
"""
4242
# See https://docs.ansible.com/projects/lint/configuring/#ignoring-rules-for-entire-files
@@ -70,8 +70,8 @@ def test_load_ignore_txt_default_success_alternative() -> None:
7070
ignore_file = Path(temporary_directory) / IGNORE_FILE.alternative
7171
ignore_file.parent.mkdir(parents=True)
7272

73-
with ignore_file.open("w", encoding="utf-8") as _ignore_file:
74-
_ignore_file.write(
73+
with ignore_file.open("w", encoding="utf-8") as ignore_file_h:
74+
ignore_file_h.write(
7575
dedent(
7676
"""
7777
playbook.yml foo-bar
@@ -104,8 +104,8 @@ def test_load_ignore_txt_custom_success() -> None:
104104
ignore_file = Path(temporary_directory) / "subdir" / "my_ignores.txt"
105105
ignore_file.parent.mkdir(parents=True, exist_ok=True)
106106

107-
with ignore_file.open("w", encoding="utf-8") as _ignore_file:
108-
_ignore_file.write(
107+
with ignore_file.open("w", encoding="utf-8") as ignore_file_h:
108+
ignore_file_h.write(
109109
dedent(
110110
"""
111111
playbook.yml hector
@@ -144,8 +144,8 @@ def test_load_ignore_txt_invalid_tags(monkeypatch: pytest.MonkeyPatch) -> None:
144144
with tempfile.TemporaryDirectory() as temporary_directory:
145145
ignore_file = Path(temporary_directory) / IGNORE_FILE.default
146146

147-
with ignore_file.open("w", encoding="utf-8") as _ignore_file:
148-
_ignore_file.write(
147+
with ignore_file.open("w", encoding="utf-8") as ignore_file_h:
148+
ignore_file_h.write(
149149
dedent(
150150
"""
151151
playbook2.yml package-latest invalid-tag

0 commit comments

Comments
 (0)