Compare commits

...
Author SHA1 Message Date
Andrew Ferlitsch 986b76c6de fix: detecting copyright cell 2022-09-13 18:08:32 +00:00
+1 -1
View File
@@ -56,7 +56,7 @@ def parse_notebook(path):
# cell 1 is copyright
nth = 0
cell, nth = get_cell(path, cells, nth)
if not cell['source'][0].startswith('# Copyright'):
if not 'Copyright' in cell['source'][0]:
report_error(path, 0, "missing copyright cell")
# check for notices