Releases: MarketSquare/robotframework-tidy
Releases · MarketSquare/robotframework-tidy
1.0.0
Our first (official) release! From this release Robotidy is full fledged tool for formatting Robot Framework code. At this time our transformers are:
Transformers
- DiscardEmptySections - empty sections are removed
 - SplitTooLongLine - keywords with too long lines are splitted
 - NormalizeSettingName - ensure that setting names are Title Case - Test Template, Library
 - AssignmentNormalizer - use only one type of assignment
 - NormalizeNewLines - ensure proper number of empty lines between keywords, test cases and sections
 - NormalizeSectionHeaderName - ensure that sections are in *** Section *** or *** SECTION *** format
 - ReplaceRunKeywordIf - replace RunKeywordIf with IF blocks
 
While it's our first release we're supporting wide range of features:
Features
- configurable transformers
 - selectable transformers (chose how you want to transform your code)
 - robotidy configuration can be supplied from cli and config file (which can be pointed to or autodetected in directory if the name is 'robotidy.toml'
 - option --no-overview to disable writing to files
 - option --diff to display file diff with the changes done by robotidy
 - option --check to return status depending on if any file was modified by robotidy
 - options --spacecount and --lineseparator for defining global formatting rules
 - --startline and --endline arguments for narrowing down what robotidy is supposed to transform in file
 - --list-transformers and --describe-transformer for displaying information about existing transformers
 
Don't hesitate to try it and in case of problems or new ideas feel free to create new issue in github.