Small improvements to typing (#1517)

Work through some of the errors when running mypy with --strict.
This commit is contained in:
Steve Kowalik
2020-05-15 10:47:22 +10:00
committed by GitHub
parent 8727003fc8
commit 7b20b13d0b
6 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class _BadAttribute:
self, value: Any, expectedType: Any, exception: Optional[ValueError] = ...
) -> None: ...
@property
def value(self): ...
def value(self) -> Any: ...
class _NotSetType:
def __repr__(self) -> str: ...