mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-31 00:42:06 +08:00
Add commented-out flag to use --fast-parser.
This commit is contained in:
1 parent
d131efcaa0
commit
a353aabbcd
1 file changed
+2
-1
+2
-1
@@ -124,7 +124,8 @@ def main():
|
||||
runs += 1
|
||||
flags = ['--python-version', '%d.%d' % (major, minor)]
|
||||
flags.append('--strict-optional')
|
||||
##flags.append('--warn-unused-ignores')
|
||||
##flags.append('--fast-parser') # Travis CI doesn't have typed_ast yet.
|
||||
##flags.append('--warn-unused-ignores') # Fast parser and regular parser disagree.
|
||||
sys.argv = ['mypy'] + flags + files
|
||||
if args.verbose:
|
||||
print("running", ' '.join(sys.argv))
|
||||
|
||||
Reference in new issue
Block a user