mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
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:
committed by
Guido van Rossum
parent
6e34fc9127
commit
2861674784
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user