-
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.
Skip documentation formatting if configured in AlignSettingsSection (#…
…627)
- Loading branch information
Showing
6 changed files
with
88 additions
and
6 deletions.
There are no files selected for viewing
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,24 @@ | ||
:orphan: | ||
|
||
============== | ||
Robotidy 4.9.0 | ||
============== | ||
|
||
Support skipping documentation in AlignSettingsSection with ``AlignSettingsSection:skip_documentation=True`` | ||
or ``--skip-documentation`` skip options (#622). | ||
|
||
You can install the latest available version by running | ||
|
||
:: | ||
|
||
pip install --upgrade robotframework-tidy | ||
|
||
or to install exactly this version | ||
|
||
:: | ||
|
||
pip install robotframework-tidy==4.9.0 | ||
|
||
.. contents:: | ||
:depth: 2 | ||
:local: |
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "4.8.1" | ||
__version__ = "4.9.0" |
30 changes: 30 additions & 0 deletions
30
tests/atest/transformers/AlignSettingsSection/expected/test_skip_documentation.robot
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,30 @@ | ||
*** Settings *** | ||
# whole line comment that should be ignored | ||
Resource ..${/}resources${/}resource.robot | ||
Library SeleniumLibrary | ||
Library Mylibrary.py | ||
Variables variables.py | ||
Test Timeout 1 min | ||
|
||
# this should be left aligned | ||
Library CustomLibrary WITH NAME name | ||
Library ArgsedLibrary ${1} ${2} ${3} | ||
|
||
Documentation Example using the space separated format. | ||
... and this documentation is multiline | ||
... where this line should go I wonder? | ||
Default Tags default tag 1 default tag 2 default tag 3 default tag 4 default tag 5 | ||
Test Setup Open Application App A | ||
Test Teardown Close Application | ||
|
||
Metadata Version 2.0 | ||
Metadata More Info For more information about *Robot Framework* see http://robotframework.org | ||
Metadata Executed At {HOST} | ||
# this should be left aligned | ||
Test Template | ||
|
||
*** Keywords *** | ||
Keyword | ||
Keyword A | ||
Keyword B |
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