Remove unnecessary --fast-parser flag to mypy (#977)

It's now on by default, and the flag will eventually be removed.
This commit is contained in:
David Fisher
2017-03-07 15:01:17 -08:00
committed by Guido van Rossum
parent 6e34fc9127
commit 2861674784
2 changed files with 1 additions and 3 deletions

View File

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

View File

@@ -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: