Skip to content

Commit 217a18d

Browse files
committed
Remove a now-unneeded noqa since apparently this is fixed in new ruff.
1 parent 2c1a8f5 commit 217a18d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ repos:
1313
args: [--fix, lf]
1414
- id: trailing-whitespace
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: "v0.4.1"
16+
rev: "v0.4.2"
1717
hooks:
1818
- id: ruff
1919
args: [--fix, --exit-non-zero-on-fix]
2020
- repo: https://github.com/psf/black
21-
rev: 24.4.0
21+
rev: 24.4.2
2222
hooks:
2323
- name: black
2424
id: black

referencing/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def get_or_retrieve(self, uri: URI) -> Retrieved[D, Resource[D]]:
423423
exceptions.NoSuchResource,
424424
):
425425
raise
426-
except Exception as error: # noqa: BLE001
426+
except Exception as error:
427427
raise exceptions.Unretrievable(ref=uri) from error
428428
else:
429429
registry = registry.with_resource(uri, resource)

0 commit comments

Comments
 (0)