NormalizeSectionHeaderName¶
Normalize section header names.
Disabling the formatter
NormalizeSectionHeaderName is included in the default formatters, but it can be also run separately with:
You can also disable it:
Robot Framework is quite flexible with the section header naming. The following lines are equal:
This formatter normalize naming to follow *** SectionName *** format (with the plural variant):
Optional data after section header (for example data driven column names) is preserved.
It is possible to upper case section header names by passing uppercase=True parameter:
will result in:
Skip formatting¶
It is possible to use the following arguments to skip formatting of the code:
It is also possible to use disablers but skip option makes it easier to skip
all instances of a given type of the code.