Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
hooks:
- id: check-useless-excludes
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.7
rev: 0.9.13
hooks:
- id: uv-sync
- id: uv-lock
Expand Down Expand Up @@ -58,7 +58,7 @@ repos:
- "-o"
- ".config/requirements-lock.txt"
- repo: https://github.com/biomejs/pre-commit
rev: "v2.3.2"
rev: "v2.3.8"
hooks:
- id: biome-check
name: biome
Expand All @@ -79,7 +79,7 @@ repos:
]
name: cspell + remove unused and sort dictionary
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.34.1
rev: 0.35.0
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/pre-commit-hooks.git
Expand Down Expand Up @@ -153,14 +153,14 @@ repos:
alias: toml

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.3
rev: v0.14.7
hooks:
- id: ruff-format
alias: ruff
- id: ruff-check
alias: ruff
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
rev: v1.19.0
hooks:
- id: mypy
# "." and pass_files are used to make pre-commit mypy behave the same as standalone mypy
Expand Down Expand Up @@ -190,7 +190,7 @@ repos:
- id: pyright
additional_dependencies: *deps
- repo: https://github.com/pycqa/pylint
rev: v4.0.2
rev: v4.0.4
hooks:
- id: pylint
args:
Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def get_version_warning() -> str:
"https://api.github.com/repos/ansible/ansible-lint/releases/latest"
)
try:
with urllib.request.urlopen(release_url) as url: # noqa: S310
with urllib.request.urlopen(release_url) as url:
data = json.load(url)
with open(cache_file, "w", encoding="utf-8") as f:
json.dump(data, f)
Expand Down
Loading