More typing work

Also use a mypy based linter when editing
This commit is contained in:
Kovid Goyal 2020-03-08 11:02:14 +05:30
parent 9b32f18109
commit cc1336a616
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
43 changed files with 333 additions and 196 deletions

View file

@ -741,7 +741,7 @@ def compile_python(base_path):
kw = {}
compileall.compile_dir(
base_path, ddir='', force=True, optimize=optimize, quiet=1,
workers=num_workers, **kw # type: ignore
workers=num_workers, **kw
)