Add a skip-side directive to wmllint to make it not complain...

...about breaking up the [side] list into multiple files
This commit is contained in:
Alexander van Gessel 2011-02-19 05:49:32 +01:00
parent 878f5d38bf
commit 9d008ac25b

View file

@ -1064,6 +1064,8 @@ def global_sanity_check(filename, lines):
elif in_side and "[/unit]" in lines[i]:
in_subunit = False
continue
if "wmllint: skip-side" in lines[i]:
sidecount += 1
if not in_side or in_subunit or '=' not in lines[i]:
continue
try: