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 ccaf0b4 commit 041413bCopy full SHA for 041413b
src/etc/tidy.py
@@ -52,7 +52,9 @@ def do_license_check(name, contents):
52
report_err("TODO is deprecated; use FIXME")
53
match = re.match(r'^.*//\s*(NOTE.*)$', line)
54
if match:
55
- report_warn(match.group(1))
+ m = match.group(1)
56
+ if "snap" in m.lower():
57
+ report_warn(match.group(1))
58
match = re.match(r'^.*//\s*SNAP\s+(\w+)', line)
59
60
hsh = match.group(1)
0 commit comments