mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-02 08:09:13 +00:00
make mypy happy
This commit is contained in:
@@ -91,17 +91,17 @@ class BaseVisitor(ABC, Generic[T]):
|
||||
}[type(node)](node)
|
||||
|
||||
@abstractmethod
|
||||
def visit_ANDList(self, node: ANDList) -> T: # noqa: N802
|
||||
def visit_ANDList(self, node: AST) -> T: # noqa: N802
|
||||
raise NotImplementedError()
|
||||
|
||||
@abstractmethod
|
||||
def visit_ORList(self, node: ORList) -> T: # noqa: N802
|
||||
def visit_ORList(self, node: AST) -> T: # noqa: N802
|
||||
raise NotImplementedError()
|
||||
|
||||
@abstractmethod
|
||||
def visit_Constraint(self, node: Constraint) -> T: # noqa: N802
|
||||
def visit_Constraint(self, node: AST) -> T: # noqa: N802
|
||||
raise NotImplementedError()
|
||||
|
||||
@abstractmethod
|
||||
def visit_Property(self, node: Property) -> T: # noqa: N802
|
||||
def visit_Property(self, node: AST) -> T: # noqa: N802
|
||||
raise NotImplementedError()
|
||||
|
||||
Reference in New Issue
Block a user