From 286167478480939dcb5543914fe12dab4a315edd Mon Sep 17 00:00:00 2001 From: David Fisher Date: Tue, 7 Mar 2017 15:01:17 -0800 Subject: [PATCH] Remove unnecessary --fast-parser flag to mypy (#977) It's now on by default, and the flag will eventually be removed. --- README.md | 2 +- tests/mypy_test.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index c4ad03b0e..5aadf1edb 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ from the Python 2 virtualenv to the Python 3 one: $ cp .venv2/bin/pytype .venv3/bin/pytype $ source .venv3/bin/activate (.venv3)$ ./runtests.sh -running mypy --python-version 3.6 --strict-optional --fast-parser # with 479 files +running mypy --python-version 3.6 --strict-optional # with 479 files running mypy --python-version 3.5 --strict-optional # with 469 files running mypy --python-version 3.4 --strict-optional # with 469 files running mypy --python-version 3.3 --strict-optional # with 454 files diff --git a/tests/mypy_test.py b/tests/mypy_test.py index d474009e4..c4b081854 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -124,8 +124,6 @@ def main(): runs += 1 flags = ['--python-version', '%d.%d' % (major, minor)] flags.append('--strict-optional') - if (major, minor) >= (3, 6): - flags.append('--fast-parser') # flags.append('--warn-unused-ignores') # Fast parser and regular parser disagree. sys.argv = ['mypy'] + flags + files if args.verbose: