-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
73 additions
and
50 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Robot Framework 6.1 fixes (#550) | ||
-------------------------------- | ||
|
||
- ``Translate`` transformer should now properly handle creating Comments section (if needed), | ||
- Missing settings translations should now be ignored by ``Translate`` transformer, | ||
- Files with invalid sections (for example unrecognized translated section names) should be ignored by | ||
``MergeAndOrderSections`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
``NormalizeSeparators`` with ``flatten_lines=True`` not handling Inline IFs (#548) | ||
----------------------------------------------------------------------------------- | ||
|
||
Robotidy should now correctly handles Inline IFs in ``NormalizeSeparators`` transformer with ``flatten_lines=True``. | ||
Previously, spacing before `ELSE` and `ELSE IF` branches was set to 0:: | ||
|
||
IF ${value}>0 Do Thing ELSE Do Other Thing | ||
|
||
it was transformed to:: | ||
|
||
IF ${value}>0 Do ThingELSE Do Other Thing | ||
|
||
Additionally, number of spaces before `ELSE` and `ELSE IF` in Inline IFs should now be calculated correctly | ||
(based on the separator length and not indentation). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Invalid variable case with extended syntax in RenameVariables (#551) | ||
-------------------------------------------------------------------- | ||
|
||
Robotidy should now be able to recognize variables using extended variable syntax and set variable case accordingly:: | ||
|
||
*** Test Cases *** | ||
Simple math operations | ||
${i} Set Variable ${0} | ||
Log ${i+1} # i+1 instead of previous I+1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixes related to Robot Framework 6.1 changes. Also fixed ``NormalizeSeparators`` not handling Inline Ifs when ``flatten_lines`` is set to True. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
:orphan: | ||
|
||
============== | ||
Robotidy {{ version }} | ||
============== | ||
|
||
{{ summary }} | ||
|
||
You can install the latest available version by running | ||
|
||
:: | ||
|
||
pip install --upgrade robotframework-tidy | ||
|
||
or to install exactly this version | ||
|
||
:: | ||
|
||
pip install robotframework-tidy=={{ version }} | ||
|
||
.. contents:: | ||
:depth: 2 | ||
:local: | ||
|
||
{% if transformers|length > 0 %} | ||
Transformers changes | ||
==================== | ||
|
||
{% for note in transformers %}{{ note }}{% endfor %} | ||
{% endif -%} | ||
|
||
{% if fixes|length > 0 %} | ||
Fixes | ||
===== | ||
{% for note in fixes %}{{ note }}{% endfor %} | ||
{% endif -%} | ||
|
||
{% if other|length > 0 %} | ||
Other features | ||
============== | ||
{% for note in other %}{{ note }}{% endfor %} | ||
{% endif -%} |