From 134b94e6309991623168fa6761cd1c94b63aa0ee Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Wed, 20 Dec 2017 20:57:58 -0800 Subject: [PATCH] requirements: Upgrade to mypy 0.560 & adjust generics flag. This upgrades to the same mypy as zulip/zulip at this point. --- py3_requirements.txt | 2 +- tools/run-mypy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py3_requirements.txt b/py3_requirements.txt index 2d1f719..2185134 100644 --- a/py3_requirements.txt +++ b/py3_requirements.txt @@ -1 +1 @@ -mypy==0.521 +mypy==0.560 diff --git a/tools/run-mypy b/tools/run-mypy index e2b4a70..e738e43 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -128,7 +128,7 @@ mypy_command = "mypy" extra_args = ["--check-untyped-defs", "--follow-imports=silent", "--scripts-are-modules", - "--disallow-any=generics", + "--disallow-any-generics", "-i"] if args.disallow_untyped_defs: extra_args.append("--disallow-untyped-defs")