cleanup, mypy coverage & add common/error stubs

This commit is contained in:
Dima Gerasimov 2020-05-06 22:50:18 +01:00
parent 15444c7b1f
commit 6ecb953675
7 changed files with 37 additions and 33 deletions

View file

@ -67,7 +67,7 @@ def sort_res_by(items: Iterable[ResT], key) -> List[ResT]:
return results
def test_sort_res_by():
def test_sort_res_by() -> None:
class Exc(Exception):
def __eq__(self, other):
return self.args == other.args