Skip to content

Robotidy 2.6.0

Choose a tag to compare

@bhirsz bhirsz released this 17 Jun 13:40
· 241 commits to main since this release
fd44394

In this release we're focusing on fixing bugs with handling whitespace from the cli option and missing non-ascii characters from --diff output. There is also improvement to how IndentNestedKeyword handle nested keywords indentation in *** Settings *** section.

To upgrade to Robotidy 2.6.0 run following:

pip install -U robotframework-tidy

IndentNestedKeywords

The order of the transformers changed - now IndentNestedKeyword runs before AlignSettingsSection. Thanks for
this change settings will be properly indented by other transformers after IndentNestedKeyword splits the keywords (#318):

*** Settings ***
Suite Setup         Run Keywords
...                     No Operation
...                     No Operation

Fixes

  • Extended encoding (such as characters like ÁáÉéĚěÍíÓóÚúÝýŮůŘřŤťŠšĎČčŇň) is now supported in --diff mode (#324)
  • indent parameter is now taken into account by NormalizeTags transformer (#323)
  • spacecount parameter is now taken into account in inline IFs by NormalizeSeparators transformer (#322)

Acknowledgements

Thanks @Reddriver and Oli I'Anson (from slack channel #tidy) for raising bug issues & feature requests!