remove the rule making wmllint putting side=...
...into set*,allow*,disallow_recruit,store_gold Since it is valid syntax now (again, but defaulting to all sides).
This commit is contained in:
parent
21544198e1
commit
6419bb4841
1 changed files with 0 additions and 3 deletions
|
@ -547,9 +547,6 @@ def validate_on_pop(tagstack, closer, filename, lineno):
|
|||
if closer == "unit" and attributes.get("id") is not None and attributes.get("type") is not None and attributes.get("side") is None and not "side" in ancestors:
|
||||
print '"%s", line %d: unit declaration without side attribute' % \
|
||||
(filename, lineno)
|
||||
if closer in ["set_recruit", "allow_recruit", "disallow_recruit", "store_gold"] and "side" not in attributes:
|
||||
print '"%s", line %d: %s requires "side" attribute but has none' % \
|
||||
(filename, lineno, closer)
|
||||
|
||||
def within(tag):
|
||||
"Did the specified tag lead one of our enclosing contexts?"
|
||||
|
|
Loading…
Add table
Reference in a new issue