-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3109 from Bravo555/format/robotidy
format: Reformat Robot Framework files with robotframework-tidy
- Loading branch information
Showing
96 changed files
with
3,281 additions
and
1,898 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# See the robocop rules list for more information about the linting rules: | ||
# https://robocop.readthedocs.io/en/stable/rules_list.html | ||
[tool.robocop] | ||
exclude = [ | ||
# Docs | ||
"missing-doc-suite", | ||
"missing-doc-test-case", | ||
"missing-doc-keyword", | ||
|
||
# Size | ||
"too-long-test-case", | ||
"file-too-long", | ||
"line-too-long", | ||
"too-many-calls-in-test-case", | ||
"too-many-calls-in-keyword", | ||
"too-many-arguments", | ||
|
||
# Naming | ||
"not-allowed-char-in-name", | ||
# Some Keywords are more descriptive with the usage of underscore | ||
# as they can include important info like 'c8y_Firmware' | ||
"underscore-in-keyword-name", | ||
"non-local-variables-should-be-uppercase", | ||
"section-variable-not-uppercase", | ||
"inconsistent-variable-name", | ||
"too-long-keyword", | ||
|
||
# Styling | ||
"not-capitalized-test-case-title", | ||
"wrong-case-in-keyword-name", | ||
] | ||
|
||
configure = [ | ||
"line-too-long:line_length:220", | ||
"todo-in-comment:severity:I" | ||
] |
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,3 +1,5 @@ | ||
black~=24.4.2 | ||
invoke~=2.2.0 | ||
pylint~=3.1.0 | ||
robotframework-tidy~=4.14.0 | ||
robotframework-robocop~=5.4.0 |
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,13 +1,24 @@ | ||
*** Variables *** | ||
*** Settings *** | ||
Documentation Test parameterization | ||
|
||
*** Variables *** | ||
# Adapter settings | ||
${DEVICE_ADAPTER} %{DEVICE_ADAPTER=docker} | ||
&{SSH_CONFIG} hostname=%{SSH_CONFIG_HOSTNAME= } username=%{SSH_CONFIG_USERNAME= } password=%{SSH_CONFIG_PASSWORD= } skip_bootstrap=False bootstrap_script=%{SSH_CONFIG_BOOTSTRAP_SCRIPT= } configpath=%{SSH_CONFIG_CONFIGPATH= } | ||
&{DOCKER_CONFIG} image=%{DOCKER_CONFIG_IMAGE=debian-systemd} bootstrap_script=%{DOCKER_CONFIG_BOOTSTRAP_SCRIPT=/setup/bootstrap.sh} | ||
&{LOCAL_CONFIG} skip_bootstrap=False bootstrap_script=%{LOCAL_CONFIG_BOOTSTRAP_SCRIPT= } | ||
${DEVICE_ADAPTER} %{DEVICE_ADAPTER=docker} | ||
&{SSH_CONFIG} | ||
... hostname=%{SSH_CONFIG_HOSTNAME= } | ||
... username=%{SSH_CONFIG_USERNAME= } | ||
... password=%{SSH_CONFIG_PASSWORD= } | ||
... skip_bootstrap=False | ||
... bootstrap_script=%{SSH_CONFIG_BOOTSTRAP_SCRIPT= } | ||
... configpath=%{SSH_CONFIG_CONFIGPATH= } | ||
&{DOCKER_CONFIG} | ||
... image=%{DOCKER_CONFIG_IMAGE=debian-systemd} | ||
... bootstrap_script=%{DOCKER_CONFIG_BOOTSTRAP_SCRIPT=/setup/bootstrap.sh} | ||
&{LOCAL_CONFIG} skip_bootstrap=False bootstrap_script=%{LOCAL_CONFIG_BOOTSTRAP_SCRIPT= } | ||
|
||
# Cumulocity settings | ||
&{C8Y_CONFIG} host=%{C8Y_BASEURL= } username=%{C8Y_USER= } password=%{C8Y_PASSWORD= } | ||
&{C8Y_CONFIG} host=%{C8Y_BASEURL= } username=%{C8Y_USER= } password=%{C8Y_PASSWORD= } | ||
|
||
# AWS settings | ||
&{AWS_CONFIG} host=%{AWS_URL= } | ||
&{AWS_CONFIG} host=%{AWS_URL= } |
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
Oops, something went wrong.