mypy: Remove superfluous older 'type: ignore' annotations.

This commit is contained in:
neiljp (Neil Pilgrim)
2017-08-06 17:01:59 -07:00
committed by Tim Abbott
parent 67f1a72aae
commit b782db48e1
12 changed files with 15 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ def run_parallel(job, data, threads=6):
except OSError as e:
if e.errno != errno.EBADF:
raise
sys.stdin = open("/dev/null", "r") # type: ignore # py2 and py3 stubs are not compatible
sys.stdin = open("/dev/null", "r")
os._exit(job(item))
pids[pid] = item