Skip to content

Commit be2d481

Browse files
authored
pyright ignore assign to __class__ of Protocol
Signed-off-by: Eden Ross Duff, MSc, DDiv <ozi.project@outlook.com>
1 parent 9529110 commit be2d481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blastpipe/backports.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_identifiers(self: IsTemplatePre311) -> List[str]: # pragma: defer to st
8484
@classmethod
8585
def extend_with(cls: type[IsTemplatePre311], instance: _T) -> _T:
8686
"""Extend the class with the mixin instance."""
87-
instance.__class__ = type(
87+
instance.__class__ = type( # pyright: ignore
8888
f'{instance.__class__.__name__}With{cls.__name__}',
8989
(instance.__class__, cls),
9090
{},

0 commit comments

Comments
 (0)