We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc61fc0 commit 40df08aCopy full SHA for 40df08a
src/etc/tidy.py
@@ -45,9 +45,8 @@ def do_license_check(name, contents):
45
openhook=fileinput.hook_encoded("utf-8")):
46
47
if fileinput.filename().find("tidy.py") == -1:
48
- if line.find("FIXME") != -1:
49
- if re.search("FIXME.*#\d+", line) == None:
50
- report_err("FIXME without issue number")
+ if line.find("// XXX") != -1:
+ report_err("XXX is no longer necessary, use FIXME")
51
if line.find("TODO") != -1:
52
report_err("TODO is deprecated; use FIXME")
53
match = re.match(r'^.*//\s*(NOTE.*)$', line)
0 commit comments