🚨 make pyright happy (#2486)

This commit is contained in:
Ju4tCode
2023-12-08 15:03:59 +08:00
committed by GitHub
parent fa3bb96417
commit 50c03b0675
3 changed files with 6 additions and 6 deletions

View File

@ -35,9 +35,9 @@ def combine_driver(
def type_(self: "CombinedDriver") -> str:
return (
driver.type.__get__(self)
driver.type.__get__(self) # type: ignore
+ "+"
+ "+".join(x.type.__get__(self) for x in mixins)
+ "+".join(x.type.__get__(self) for x in mixins) # type: ignore
)
return type(

View File

@ -313,7 +313,7 @@ class Matcher(metaclass=MatcherMeta):
matchers[priority].append(NewMatcher)
return NewMatcher
return NewMatcher # type: ignore
@classmethod
def destroy(cls) -> None: