Skip to content

Ignore NOTEs when Travis runs make tidy #21369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 21, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/etc/tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.

import sys, fileinput, subprocess, re
import sys, fileinput, subprocess, re, os
from licenseck import *
import snapshot

Expand Down Expand Up @@ -71,7 +71,7 @@ def do_license_check(name, contents):
if match:
report_err("XXX is no longer necessary, use FIXME")
match = re.match(r'^.*//\s*(NOTE.*)$', line)
if match:
if match and "TRAVIS" not in os.environ:
m = match.group(1)
if "snap" in m.lower():
report_warn(match.group(1))
Expand Down