Usage e.g.: ./checkstyle.py -s 3aca02ca91816a86febb5ed6e380ec2122adea47
Additionally this CL adds a pre-push script that can be used a git
hook to run Checkstyle on 'repo upload'
Bug: 25852971
Change-Id: Ia00d48df80b2b024de0899d9590868016c5b7bf0
It is valid to have empty modified_lines list for files
that only contain deletions. In such case we should skip
all the errors except for forced rules.
Updated the test to match the expectation.
Change-Id: I6993968b882fb6fbe2ba1f63f3b6879c3308ff34