boakley / robotframework-lint

Linter for robot framework plain text files
Apache License 2.0
126 stars 48 forks source link

RequireSuiteDocumentation does not allow for colon in setting name #39

Open ntdaley opened 7 years ago

ntdaley commented 7 years ago

To quote from the robotframework user guide:

All setting names can optionally include a colon at the end, for example Documentation:. This can make reading the settings easier especially when using the plain text format. This is a new feature in Robot Framework 2.5.5.

But, RequireSuiteDocumentation will not recognise the documentation setting with a colon after the name.

Could perhaps change if row[0].lower() == "documentation": to if row[0].lower().rstrip(':') == "documentation":