Fix Python errors reported by mypy
This commit fixes Python errors and warnings reported by static type checking with mypy. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a9dd9c7d0d
commit
952bf4a4e1
1 changed files with 15 additions and 13 deletions
|
|
@ -3,8 +3,9 @@ import atexit
|
|||
import tempfile
|
||||
import inspect
|
||||
from jwutils import log
|
||||
from typing import Set
|
||||
|
||||
_tmpfiles = set()
|
||||
_tmpfiles: Set[str] = set()
|
||||
|
||||
def _cleanup():
|
||||
for f in _tmpfiles:
|
||||
|
|
|
|||
Loading…
Reference in a new issue