requirements: Upgrade to mypy 0.560 & adjust generics flag.
This upgrades to the same mypy as zulip/zulip at this point.
This commit is contained in:
parent
7acf2c396b
commit
134b94e630
|
@ -1 +1 @@
|
||||||
mypy==0.521
|
mypy==0.560
|
||||||
|
|
|
@ -128,7 +128,7 @@ mypy_command = "mypy"
|
||||||
extra_args = ["--check-untyped-defs",
|
extra_args = ["--check-untyped-defs",
|
||||||
"--follow-imports=silent",
|
"--follow-imports=silent",
|
||||||
"--scripts-are-modules",
|
"--scripts-are-modules",
|
||||||
"--disallow-any=generics",
|
"--disallow-any-generics",
|
||||||
"-i"]
|
"-i"]
|
||||||
if args.disallow_untyped_defs:
|
if args.disallow_untyped_defs:
|
||||||
extra_args.append("--disallow-untyped-defs")
|
extra_args.append("--disallow-untyped-defs")
|
||||||
|
|
Loading…
Reference in a new issue