mirror of https://github.com/zulip/zulip.git
mypy: Drop now-redundant `-i` option.
This used to be a synonym for `--incremental`. Since mypy 0.590, incremental mode is the default, and the flag is ignored; so we can happily drop it.
This commit is contained in:
parent
df98fd5cd9
commit
ff178bb27a
|
@ -84,7 +84,7 @@ if not python_files and not pyi_files:
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
extra_args = ["--follow-imports=silent",
|
extra_args = ["--follow-imports=silent",
|
||||||
"-i", "--cache-dir=var/mypy-cache"]
|
"--cache-dir=var/mypy-cache"]
|
||||||
if args.linecoverage_report:
|
if args.linecoverage_report:
|
||||||
extra_args.append("--linecoverage-report")
|
extra_args.append("--linecoverage-report")
|
||||||
extra_args.append("var/linecoverage-report")
|
extra_args.append("var/linecoverage-report")
|
||||||
|
|
Loading…
Reference in New Issue