print() is a function in Python 3
cclauss opened this issue · comments
flake8 testing of https://github.com/google/cocoapods-size on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./xcode_project_diff.py:168:35: E999 SyntaxError: invalid syntax
print '{} is {} larger than {}'.format(args.source_project, diff_size,
^
./measure_cocoapod_size.py:121:57: E999 SyntaxError: invalid syntax
print 'The pods combined add an extra size of {} bytes'.format(
^
2 E999 SyntaxError: invalid syntax
2
Thanks for raising 👍
Updated the script to work for python3