Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit acae9f1

Browse files
Remove check for license file from c/check.py
1 parent 6f45cc5 commit acae9f1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

c/check.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
logging.basicConfig(format=LOG_FORMAT, level='INFO')
3535

3636
README_PATTERN = re.compile('^readme(\.(txt|md))?$', re.I)
37-
LICENSE_PATTERN = re.compile('^license([-.].*)?(\.(txt|md))?$', re.I)
3837
BENCHMARK_PATTERN = re.compile('^.*\.yml$')
3938
EXPECTED_FILE_PATTERN = re.compile(
4039
'^(.*\.(c|h|i|yml)|(readme|license([-.].*)?|.*\.error_trace)(\.(txt|md))?|Makefile|.gitignore)$',
@@ -263,12 +262,6 @@ def check_has_readme(self):
263262
return
264263
self.error("missing readme")
265264

266-
def disabled_check_has_license(self):
267-
for entry in self.content:
268-
if LICENSE_PATTERN.match(entry):
269-
return
270-
self.error("missing license")
271-
272265
def check_has_Makefile(self):
273266
if not 'Makefile' in self.content:
274267
self.error("missing Makefile")

0 commit comments

Comments
 (0)