diff --git a/format_whitespace.py b/format_whitespace.py index 2221da716..12ffdf01e 100644 --- a/format_whitespace.py +++ b/format_whitespace.py @@ -53,7 +53,7 @@ def format_file(filename: str) -> bool: def main(): - filelist = [f for f in get_changed_filelist() if f.endswith('.java')] + filelist = [f for f in get_changed_filelist() if f.endswith('.java') and not f.startswith('src/generated')] replaced = 0 not_found = 0 if not filelist: