We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65bdc68 commit 29ceaf8Copy full SHA for 29ceaf8
1 file changed
pre_commit_hooks/check_copyright.py
@@ -5,15 +5,16 @@
5
import os.path as osp
6
from typing import List
7
8
-HEADER = 'Copyright (c) SI-Analytics. All rights reserved.\n'
+HEADER = 'Copyright (c) SI Analytics. All rights reserved.\n'
9
10
HEADER_KEYWORDS = {'Copyright', 'License'}
11
12
13
def has_copyright(lines: List[str]) -> bool:
14
for line in lines:
15
if not HEADER_KEYWORDS.isdisjoint(set(line.split(' '))):
16
- return True
+ if 'SI Analytics' in line:
17
+ return True
18
return False
19
20
0 commit comments