mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-19 17:42:50 +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
@@ -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