Reuse pre-commit checks in CI (#1442)

* Use pre-commit checks in CI

* Fix all issues flagged by mypy

* Update travis.yml to reflect testenv changes

* Update docs to use tox lint
This commit is contained in:
Liuyang Wan
2020-03-23 08:45:54 +08:00
committed by GitHub
parent 91433fe925
commit af6cab5520
8 changed files with 26 additions and 42 deletions
+8
View File
@@ -33,3 +33,11 @@ class GithubException:
def data(self) -> Dict[str, Union[str, List[str], List[Dict[str, str]]]]: ...
@property
def status(self) -> int: ...
class IncompletableObject:
def __init__(self, status: Union[int, str], data: Any,) -> None: ...
def __str__(self) -> str: ...
@property
def data(self) -> Dict[str, Union[str, List[str], List[Dict[str, str]]]]: ...
@property
def status(self) -> int: ...