Run mypy commit hook (#1591)

* run mypy commit hook

* fix mypy errors
old-commit-hash: 3d08dcc3b2
This commit is contained in:
Willem Melching
2020-05-28 15:05:04 -07:00
committed by GitHub
parent 9aa70600dd
commit 2b60ee9531
39 changed files with 183 additions and 207 deletions
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# type: ignore
import time
import math
import atexit
+4 -3
View File
@@ -1,8 +1,9 @@
import sys
import termios
import time
from termios import (BRKINT, VMIN, CS8, CSIZE, ECHO, ICANON, ICRNL, IEXTEN,
INPCK, ISIG, ISTRIP, IXON, PARENB, VTIME)
from termios import (BRKINT, CS8, CSIZE, ECHO, ICANON, ICRNL, IEXTEN, INPCK,
ISIG, ISTRIP, IXON, PARENB, VMIN, VTIME)
from typing import Any
# Indexes for termios list.
IFLAG = 0
@@ -53,7 +54,7 @@ def test(q):
if __name__ == '__main__':
from multiprocessing import Process, Queue
q = Queue()
q : Any = Queue()
p = Process(target=test, args=(q,))
p.daemon = True
p.start()