Skip to content

Commit

Permalink
Teach the linter about // META: variant=
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed May 14, 2018
1 parent b22e127 commit bd57e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/lint/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,8 @@ def check_script_metadata(repo_root, path, f):
errors.append(("UNKNOWN-TIMEOUT-METADATA", "Unexpected value for timeout metadata", path, idx + 1))
elif key == b"script":
pass
elif key == b"variant":
pass
else:
errors.append(("UNKNOWN-METADATA", "Unexpected kind of metadata", path, idx + 1))
else:
Expand Down

0 comments on commit bd57e81

Please sign in to comment.