-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Robot Framework files with
robotidy
- Loading branch information
Showing
6 changed files
with
57 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
apt-get install -y python3-pip | ||
python3 -m pip install robotframework-tidy |
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,22 @@ | ||
Force Tags tags tag2 | ||
Library Collections | ||
Resource important.robot | ||
Library MyCustomLibrary.py | ||
|
||
Test Setup Setup Keyword | ||
|
||
|
||
*** test case* | ||
Test1 | ||
[ teardown] Teardown Keyword | ||
Keyword | ||
FOR ${var} IN RANGE 10 | ||
Run Keyword If ${var}>5 Other Keyword | ||
END | ||
*** Variables *** | ||
${var}= 2 | ||
${bit_longer} 10 | ||
${var2} a | ||
... b | ||
|
||
*** Keywords *** |
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,23 @@ | ||
*** Comments *** | ||
Force Tags tags tag2 | ||
Library Collections | ||
Resource important.robot | ||
Library MyCustomLibrary.py | ||
|
||
Test Setup Setup Keyword | ||
|
||
|
||
*** Variables *** | ||
${var}= 2 | ||
${bit_longer} 10 | ||
${var2} a | ||
... b | ||
|
||
|
||
*** Test Cases *** | ||
Test1 | ||
Keyword | ||
FOR ${var} IN RANGE 10 | ||
IF ${var}>5 Other Keyword | ||
END | ||
[Teardown] Teardown Keyword |