Skip to content

Commit 4c4d5f2

Browse files
authored
test: Broaden regex to ignore copyright header file created by setuptools (#186)
Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com>
1 parent 3bbbc4c commit 4c4d5f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)