Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about tags with value * (a literal star) #2380

Open
Famlam opened this issue Nov 2, 2024 · 0 comments
Open

Warn about tags with value * (a literal star) #2380

Famlam opened this issue Nov 2, 2024 · 0 comments

Comments

@Famlam
Copy link
Collaborator

Famlam commented Nov 2, 2024

If a key has the value of a *, probably someone took a validator output too literal.
I spotted this rule in the rules for TagWatchFrViPofm
name=* (a star) (to be replaced by fixme=*, lets talk about irony ;) )

That won't work in TagWatchFrViPofm, but we can probably add * (a literal star) to this spot:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant