first draft of react-based list ui (#111)

This commit is contained in:
Scott Lamb
2021-03-05 16:56:51 -08:00
parent 2677184c58
commit 08c3246982
14 changed files with 1081 additions and 75 deletions

View File

@@ -50,7 +50,7 @@ def has_license(f):
def file_has_license(filename):
with open(filename, 'r') as f:
return has_license(f)
def main(args):
if not args:
@@ -59,8 +59,8 @@ def main(args):
missing = [f for f in args
if FILENAME_MATCHER.match(f) and not file_has_license(f)]
if missing:
print('The following files are missing expected copyright/license headers:')
print('\n'.join(missing))
print('The following files are missing expected copyright/license headers:', file=sys.stderr)
print('\n'.join(missing), file=sys.stderr)
sys.exit(1)