From f87c516ff8c71c919cb5dd7ea958a8373f0bf4f5 Mon Sep 17 00:00:00 2001 From: pem70 Date: Fri, 9 Aug 2024 11:39:05 -0400 Subject: [PATCH] Update license_header.py Signed-off-by: pem70 --- scripts/license_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/license_header.py b/scripts/license_header.py index be195de6..9384aa7d 100644 --- a/scripts/license_header.py +++ b/scripts/license_header.py @@ -40,7 +40,7 @@ def main(): if "build" in root.split(os.path.sep): continue for file in files: - if file.endswith(".py"): + if file.endswith(".py") and file is not "_version.py": file_path = os.path.join(root, file) if not check_and_add_license_header(file_path, write_header): print(f"License header missing in: {file_path}")