Skip to content

Commit

Permalink
Warn about tags with a literal star value
Browse files Browse the repository at this point in the history
This usually indicates someone took the wiki or a validator a bit too literal.
  • Loading branch information
Famlam committed Nov 16, 2024
1 parent 37b4785 commit 1a07389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/TagFix_BadValue.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def check(self, data, tags, check_list_open):
err.append({"class": 3040, "subclass": stablehash64(k), "text": T_("Concerns tag: `{0}`", '='.join([k, tags[k]])) })

for k in keyss:
if tags[k] == "unknown":
if tags[k] in ("unknown", "*"):
err.append({"class": 40613, "subclass": stablehash64(k), "text": T_("Concerns tag: `{0}`", '='.join([k, tags[k]])) })

return err
Expand Down

0 comments on commit 1a07389

Please sign in to comment.