Skip to content

Commit 7e3fa88

Browse files
Do not check copyright header in _version.py.
1 parent 2b3cd91 commit 7e3fa88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cl/runtime/prebuild/copyright_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def check_copyright_headers(
109109

110110
# Use default exclude patterns if not specified by the caller
111111
if exclude_patterns is None:
112-
exclude_patterns = ["__init__.py"]
112+
exclude_patterns = ["__init__.py", "_version.py"]
113113

114114
# Apply to each element of root_paths
115115
for root_path in package_root_paths:

0 commit comments

Comments
 (0)