Skip to content

Commit

Permalink
Remove a now-unneeded noqa since apparently this is fixed in new ruff.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Apr 26, 2024
1 parent e6d0ef1 commit 70a994c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
args: [--fix, lf]
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.1"
rev: "v0.4.2"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ def resolve_from_url(self, url):
except KeyError:
try:
document = self.resolve_remote(url)
except Exception as exc: # noqa: BLE001
except Exception as exc:
raise exceptions._RefResolutionError(exc) from exc

return self.resolve_fragment(document, fragment)
Expand Down

0 comments on commit 70a994c

Please sign in to comment.