We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebaa914 commit b8bc28fCopy full SHA for b8bc28f
test/test_copyright_license.py
@@ -26,7 +26,7 @@ def check_files(paths):
26
continue
27
lines = content.splitlines()
28
has_copyright = \
29
- any(l for l in lines if l.startswith('# Copyright'))
+ any(line for line in lines if line.startswith('# Copyright'))
30
has_license = \
31
'# Licensed under the Apache License, Version 2.0' in lines
32
if not has_copyright or not has_license:
0 commit comments