robotframework-robocop
robotframework-robocop copied to clipboard
Check settings name
From RF User Guide:
"
Settings used to be also space-insensitive, but that was deprecated in Robot Framework 3.1 and trying to use something like [T a g s]
causes an error in Robot Framework 3.2. Possible spaces between brackets and the name (e.g. [ Tags ]
) are still allowed.
"
There is setting-name-not-in-title-case
rule. It will detect [arguments]
but not [ Arguments ]
. Should we create another rule for extra checks or rather rework setting-name-not-in-title-case
(together with rule name change, ie invalid-setting-name
)? @mnojek
For reference there is section-name-invalid
which checks case, spacing and formatting (*** Name ***
)
I think I will keep setting-name-not-in-title-case
as it is and add another rule like invalid-setting-name
so that we have more precise messages instead of just 'something is wrong with this setting' if the rule is going to match all possible violations.