robotframework-lint
robotframework-lint copied to clipboard
Ignore rules using regex/glob
It would be nice to be able to say -i *Documentation*
as opposed to -i RequireKeywordDocumentation -i RequireSuiteDocumentation -i RequireTestDocumentation
Hmmmmm. That might be nice now, but without some sort of rule naming standards, that could be hit or miss. What if someone writes a rule like named "SpellchecDoc"? I assume your goal is to skip all documentation rules, but without a naming standard some might still get run.
What if rules had tags, similar to tests? Then you could exclude all rules tagged as "documentation" or all rules tagged as "keyword"?
I'm just brainstorming here -- I haven't thought this through.
On Thu, Dec 11, 2014 at 1:34 PM, Guy Kisel [email protected] wrote:
It would be nice to be able to say -i Documentation as opposed to -i RequireKeywordDocumentation -i RequireSuiteDocumentation -i RequireTestDocumentation
— Reply to this email directly or view it on GitHub https://github.com/boakley/robotframework-lint/issues/14.
I think that rule tags sound like a great solution. That would probably also help if you wanted to do some sort of end-of-scan summary, something like
53 documentation warnings
21 keyword warnings
...
This certainly isn't a high priority feature request, I just thought I'd put it in before I forgot about it.
I like the idea of the summary. The tag idea might be good, but I'm wanting to keep rules as simple as possible. It will be pretty easy to forget to tag a rule, or misspell a tag.
On Thu, Dec 11, 2014 at 2:57 PM, Guy Kisel [email protected] wrote:
This certainly isn't a high priority feature request, I just thought I'd put it in before I forgot about it.
— Reply to this email directly or view it on GitHub https://github.com/boakley/robotframework-lint/issues/14#issuecomment-66687390 .