diff --git a/tools/precommit/check_file_properties.py b/tools/precommit/check_file_properties.py index 0b91459af3..7d71f403ef 100755 --- a/tools/precommit/check_file_properties.py +++ b/tools/precommit/check_file_properties.py @@ -152,7 +152,12 @@ def check_file(path: pathlib.Path) -> typing.List[str]: if "\r\n" in content: warnings += [f"{path}: contains DOS linebreaks"] - if fn_ext not in (".pot", ".patch") and basefn != "Makefile" and "\t" in content: + if ( + fn_ext not in (".pot", ".patch") + and basefn != "Makefile" + and basefn != "generate_arch_files.sh" + and "\t" in content + ): warnings += [f"{path}: contains tab character"] if fn_ext == ".cu" and "#if defined(_OMP_H)\n#error" not in content: