Lines Matching full:fname
24 def copyright_is_valid(fname):
25 """Return True if fname has a valid copyright"""
26 with open(fname) as fin:
73 fname = os.path.join(root, ".gitignore")
74 with open(fname) as fin:
92 for fname in files:
93 fname = os.path.join(root, fname)
94 if fname in files_to_ignore:
97 extension = os.path.splitext(fname)[1]
99 if not copyright_is_valid(fname):
100 print("Invalid copyright in {}".format(fname))