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

Rule could-be-keyword-tags: Ignore some builtin tags #1166

Open
Lakitna opened this issue Jan 9, 2025 · 1 comment
Open

Rule could-be-keyword-tags: Ignore some builtin tags #1166

Lakitna opened this issue Jan 9, 2025 · 1 comment

Comments

@Lakitna
Copy link
Contributor

Lakitna commented Jan 9, 2025

could-be-keyword-tags highlights situations where all keywords in a file use the same tag. These tags can be consolidated in the Settings section instead.

In my code base, it keeps raising situations where all keywords use robot:flatten or robot:private. These tags are instructions for the Robot Framework runtime. Because of this, I don't think they should be consolidated like other tags. I want to keep them explicit.

Potential fixes:

  1. Keep it the way it is.
  2. Always ignore robot:* tags (full list)
  3. Add a configurable parameter to this rule that allows users to exclude specific tags.
@bhirsz
Copy link
Member

bhirsz commented Jan 9, 2025

I think 2. is the best.

  1. could be added regardless, but very low priority

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

No branches or pull requests

2 participants