[libcalamares] Prevent CI coding-style fixes to generated code

This commit is contained in:
Adriaan de Groot 2019-11-26 11:08:21 +01:00
parent 733fb43b5e
commit abd3c4171b
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,9 @@
*/
/** THIS FILE EXISTS ONLY FOR TRANSLATIONS PURPOSES **/
// *INDENT-OFF*
// clang-format off
/* This returns a reference to local, which is a terrible idea.
* Good thing it's not meant to be compiled.
*/

View File

@ -91,6 +91,9 @@ cpp_header_comment = """/* GENERATED FILE DO NOT EDIT
*/
/** THIS FILE EXISTS ONLY FOR TRANSLATIONS PURPOSES **/
// *INDENT-OFF*
// clang-format off
"""
if __name__ == "__main__":