diff --git a/tests/mypy_test.py b/tests/mypy_test.py index 2d1374427..73fbfb5e4 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -116,6 +116,7 @@ def main(): if files: runs += 1 flags = ['--python-version', '%d.%d' % (major, minor)] + flags.append('--strict-optional') sys.argv = ['mypy'] + flags + files if args.verbose: print("running", ' '.join(sys.argv))