Skip to content

Commit 85bf8cb

Browse files
authored
test: Broaden regex to ignore copyright header file created by setupt… (#175)
test: Broaden regex to ignore copyright header file created by setuptools Signed-off-by: Charles Moore <[email protected]>
1 parent 1d2f554 commit 85bf8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/openjd/test_copyright_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
_copyright_header_re = re.compile(
88
r"Copyright Amazon\.com, Inc\. or its affiliates\. All Rights Reserved\.", re.IGNORECASE
99
)
10-
_generated_by_scm = re.compile(r"# file generated by setuptools_scm", re.IGNORECASE)
10+
_generated_by_scm = re.compile(r"# file generated by setuptools[_-]scm", re.IGNORECASE)
1111

1212

1313
def _check_file(filename: Path) -> None:

0 commit comments

Comments
 (0)