Add more type annotations

This commit is contained in:
Kovid Goyal
2021-10-27 11:36:34 +05:30
parent 69e903a4c4
commit b22bda3cba
12 changed files with 45 additions and 39 deletions

View File

@@ -21,7 +21,7 @@ class StyleNotFound(Exception):
pass
class DiffFormatter(Formatter):
class DiffFormatter(Formatter): # type: ignore
def __init__(self, style: str = 'default') -> None:
try: