Skip to content

Commit 3644035

Browse files
committed
special case for package.rst
1 parent 4a80e6b commit 3644035

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mirageoscience/hooks/check_copyright.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def main(args=None):
4444
for line in file:
4545
count += 1
4646
if count >= max_lines and not (
47-
f.endswith("README.rst") or f.endswith("README-dev.rst")
47+
f.endswith("README.rst") or f.endswith("README-dev.rst") or f.endswith("package.rst")
4848
):
4949
break
5050
if re.search(copyright_re, line):

0 commit comments

Comments
 (0)