-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YapfBear: Ignore file if it is zero-byte file
Yapf cannot handle zero-byte files correctly, because it adds a newline into the file when correcting. Hence we ignore zero byte files completely as they anyway do not have code to format. Fixes #739
- Loading branch information
1 parent
cd322dd
commit d4a9654
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters