Skip to content

Commit 9959594

Browse files
committed
Move the type: ignore for converter with pyright.
This started failing it seems when pyright implemented support for PEP712 the past day or two. I assume still there's a 'correcter' way to fix this but don't care to think too hard.
1 parent 3a1a6ea commit 9959594

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/changes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
v0.28.1
6+
-------
7+
8+
* More minor documentation improvements
9+
510
v0.28.0
611
-------
712

referencing/_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ class Registry(Mapping[URI, Resource[D]]):
228228
even according to the retrieval logic.
229229
"""
230230

231-
_resources: HashTrieMap[URI, Resource[D]] = field( # type: ignore[reportGeneralTypeIssues] # noqa: E501
231+
_resources: HashTrieMap[URI, Resource[D]] = field(
232232
default=HashTrieMap(),
233-
converter=HashTrieMap.convert,
233+
converter=HashTrieMap.convert, # type: ignore[reportGeneralTypeIssues] # noqa: E501
234234
)
235235
_anchors: HashTrieMap[tuple[URI, str], AnchorType[D]] = HashTrieMap() # type: ignore[reportGeneralTypeIssues] # noqa: E501
236236
_uncrawled: HashTrieSet[URI] = EMPTY_UNCRAWLED

0 commit comments

Comments
 (0)