Skip to content

Commit 6b126db

Browse files
committed
Ask ruff to fix things, and fix the now-unneeded noqa.
1 parent db6d712 commit 6b126db

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ repos:
1919
rev: "v0.0.292"
2020
hooks:
2121
- id: ruff
22+
args: [--fix, --exit-non-zero-on-fix]
2223
- repo: https://github.com/PyCQA/isort
2324
rev: 5.12.0
2425
hooks:

jsonschema/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _warn_for_remote_retrieve(uri: str):
126126

127127

128128
_REMOTE_WARNING_REGISTRY = SPECIFICATIONS.combine(
129-
referencing.Registry(retrieve=_warn_for_remote_retrieve), # type: ignore[call-arg] # noqa: E501
129+
referencing.Registry(retrieve=_warn_for_remote_retrieve), # type: ignore[call-arg]
130130
)
131131

132132

0 commit comments

Comments
 (0)