SmartSortKeywords¶
Sort keywords in *** Keywords *** section.
Enabling the formatter
SmartSortKeywords is not included in default formatters.
You can enable it by using --select and --extend-select options.
By default sorting is case insensitive, but keywords with leading underscore go to the bottom. Other underscores are treated as spaces. Empty lines (or lack of them) between keywords are preserved.
Default behaviour could be changed using the following parameters: case_insensitive, ignore_leading_underscore
and ignore_other_underscore.