Skip to content

Commit

Permalink
Update license_header.py
Browse files Browse the repository at this point in the history
Signed-off-by: pem70 <[email protected]>
  • Loading branch information
pem70 committed Aug 9, 2024
1 parent 2ee6bff commit f87c516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/license_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit f87c516

Please sign in to comment.