1.3.0
This release includes some backward incompatible changes to transformers naming - read the release log for more details.
Transformers
AssignmentNormalizer
was renamed toNormalizeAssignment
for consistent naming with other transformers #115- It is now possible to select what sections are normalized in
NormalizeSeparators
transformer withsections
param #116 OrderSettings
now puts settings before comments and empty lines at the end of keyword/test case body #118, #125
Features
- New option
--output
option for saving transformed file to provided path instead of overwriting source file #108 --desc
now acceptsall
for printing out description of all transformers #105- Robotidy will now suggest similar names for invalid transformer names used with
--transform
or--desc
options #107 --list
now prints transformers in alphabetical order #141
Fixes
- Renamed short version of
--lineseparator
to-ls
to avoid collision with--list\-l
- Description for disabled transformers can be now displayed & disabled transformers are in
--list
output #114 - Robotidy should now correctly load configuration files from path when using
--config
#138 - ReplaceRunKeywordIf will now set variable values to
None
if there is no ELSE branch #140 - Transformers should always use the same order. If you need to use custom order, provide --force-order flag #142
Other
- Removed
'--describe-transformer
and--list-transformers
aliases for--list
and--desc
- Added
-h
alias for--help
command - Warn user instead of doing nothing when invoking robotidy without any arguments #106
Acknowledgements
Thanks @adrszad, @mnojek, @dcrblack and @kstine for ideas, reported issues and comments.