third_party.pigweed.src/pw_presubmit
Rob Mohr 881d3138e8 Fix copyright check on empty files
For empty files the copyright check would keep reading but because
it was at EOF it would keep getting an empty string, for which
'not line.strip()' would always evaluate to True. This change
causes it to exit the loop when it hits EOF.

Change-Id: I0fe5d95fe1d4f1d9dcaf1ff4e1351fa40b96bd72
2020-01-09 21:44:19 +00:00
..
py Fix copyright check on empty files 2020-01-09 21:44:19 +00:00
BUILD.gn Expand docs for a few modules 2019-12-09 17:13:47 -08:00
docs.rst Expand docs for a few modules 2019-12-09 17:13:47 -08:00
README.md Expand docs for a few modules 2019-12-09 17:13:47 -08:00

pw_presubmit: Tools for running presubmit checks