enable ASYNC, DTZ, YTT and EM lints
This commit is contained in:
@@ -30,7 +30,8 @@ class ToastOverlay:
|
||||
_instance: "None | ToastOverlay" = None
|
||||
|
||||
def __init__(self) -> None:
|
||||
raise RuntimeError("Call use() instead")
|
||||
msg = "Call use() instead"
|
||||
raise RuntimeError(msg)
|
||||
|
||||
@classmethod
|
||||
def use(cls: Any) -> "ToastOverlay":
|
||||
|
||||
@@ -55,7 +55,8 @@ class JoinList:
|
||||
|
||||
# Make sure the VMS class is used as a singleton
|
||||
def __init__(self) -> None:
|
||||
raise RuntimeError("Call use() instead")
|
||||
msg = "Call use() instead"
|
||||
raise RuntimeError(msg)
|
||||
|
||||
@classmethod
|
||||
def use(cls: Any) -> "JoinList":
|
||||
|
||||
@@ -25,7 +25,8 @@ class ViewStack:
|
||||
|
||||
# Make sure the VMS class is used as a singleton
|
||||
def __init__(self) -> None:
|
||||
raise RuntimeError("Call use() instead")
|
||||
msg = "Call use() instead"
|
||||
raise RuntimeError(msg)
|
||||
|
||||
@classmethod
|
||||
def use(cls: Any) -> "ViewStack":
|
||||
|
||||
@@ -44,7 +44,8 @@ class ClanStore:
|
||||
|
||||
# Make sure the VMS class is used as a singleton
|
||||
def __init__(self) -> None:
|
||||
raise RuntimeError("Call use() instead")
|
||||
msg = "Call use() instead"
|
||||
raise RuntimeError(msg)
|
||||
|
||||
@classmethod
|
||||
def use(cls: Any) -> "ClanStore":
|
||||
|
||||
Reference in New Issue
Block a user