mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Small improvements to typing (#1517)
Work through some of the errors when running mypy with --strict.
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user