Use 'python2.7' in shebang; make script executable On modern systems 'python' is most likely symlinked to python3, but 'google-java-format-diff.py' uses python2 syntax. Therefore it is better to explicitly use 'python2.7'. Also changed file mode of the script (chmod a+x) to make it executable.
google-java-format is a program that reformats Java source code to comply with Google Java Style.