IndentNestedKeywords¶
Format indentation inside run keywords variants such as Run Keywords or Run Keyword And Continue On Failure.
Enabling the formatter
IndentNestedKeywords is not included in default formatters.
You can enable it by using --select and --extend-select options.
Keywords inside run keywords variants are detected and whitespace is formatted to outline them.
Handle AND inside Run Keywords¶
AND argument inside Run Keywords can be handled in different ways.
You can configure it using indent_and:
The following values are available:
indent_and=splitsplitsANDto new line,indent_and=split_and_indentsplitsANDand additionally indents the keywords,indent_and=keep_in_linekeepsANDnext to the previous keyword.
Skip formatting settings¶
To skip formatting run keywords inside settings (such as Suite Setup, [Setup], [Teardown] etc.) set
skip_settings to True: