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:
neiljp (Neil Pilgrim) 2017-12-20 20:57:58 -08:00 committed by showell
parent 7acf2c396b
commit 134b94e630
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
mypy==0.521 mypy==0.560

View file

@ -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")