Use explicit "# type: str" instead of '' shortcut.

This commit is contained in:
Matthias Kramm
2015-11-09 07:59:14 -08:00
parent 63e441e804
commit d2a3d4a4ed
28 changed files with 139 additions and 137 deletions

View File

@@ -26,8 +26,8 @@ STDOUT = ... # type: int
class CalledProcessError(Exception):
returncode = 0
cmd = ''
output = '' # May be None
cmd = ... # type: str
output = ... # type: str # May be None
def __init__(self, returncode: int, cmd: str, output: str) -> None: ...