Skip to content

Commit 60feb0e

Browse files
authored
Merge pull request #5 from MiraGeoscience/GEOPY-1933
GEOPY-1933: special case for copyright check in package.rst
2 parents 4a80e6b + 3644035 commit 60feb0e

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)