NormalizeSettingName#

Normalize setting name.

Transformer configuration

NormalizeSettingName is included in the default transformers, but it can be also run separately with:

robotidy --transform NormalizeSettingName src

You can also disable NormalizeSettingName:

robotidy --configure NormalizeSettingName:enabled=False src

Ensure that setting names are title case without leading or trailing whitespace.

*** Settings ***
library    library.py
test template    Template
FORCE taGS    tag1

*** Keywords ***
Keyword
    [arguments]    ${arg}
    [TEARDOWN]   Teardown Keyword
*** Settings ***
Library    library.py
Test Template    Template
Force Tags    tag1

*** Keywords ***
Keyword
    [Arguments]    ${arg}
    [Teardown]   Teardown Keyword