Fix some type checker errors and remove some type ignores

Caught from an upgraded Pyright
This commit is contained in:
Rapptz committed 2022-03-16 01:46:58 -04:00
1 parent 6d75d2e937
commit 1192d842e1
8 files changed
+17 -11

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ class Choice(Generic[ChoiceT]):
return {
'name': self.name,
'value': self.value,
} # type: ignore -- Type checker does not understand this literal.
}
class AppCommandChannel(Hashable):