robotframework-tidy
robotframework-tidy copied to clipboard
Robot Framework code formatter
Currently (4.10.0) EOL symbols in output are operating system-dependent, which can clash with git checkout settings for example. It would be nice to have an option to force them to...
It would be nice to be able to enable a transformer or another from within the file. For instance, let's say my robotidy configuration files states that `SmartSortKeywords` transformer is...
[AlignTemplatedTestCases](https://robotidy.readthedocs.io/en/stable/transformers/AlignTemplatedTestCases.html) works when defining a unique template for the whole suite file in `Test Template` suite setting, but not when using the test case `[Template]` setting. In the example below...
It would be nice to be able to change the transformer configuration from a comment in the file. For instance, for some test case I want a different alignment width...
We made a script to run robottidy. The script by default only checks but can be used to fix all formatting issues also by providing `-f` flag. The gist: ```bash...
I am using python3.11.8 and robotframework-tidy 4.9.0 over Ubuntu Linux 22.04. I have installed it in the pre-commit and when I tried to make the git commit, I got the...
Allow to configure how some separators behaves, for example FOR: ``` FOR ${var} ${var2} IN ZIP @{list1} @{list2} END ``` uses 4 spaces by default for FOR arguments where it...
I would like to split and intend following lines: ``` *** Variables *** ${VARIABLE} = High @{VARIABLE_LIST} = High High, Med High, Med,\nLow High, Med,\\nLow @{SHORT_LIST} = valuevalue valuevaluevalue valuevaluevalue...
Robot style guide recommends ordering the variables based in their complexity: https://docs.robotframework.org/docs/style_guide/guide#variables