I have pyproject.toml that set’s up both robotidy and robocop to use line length as 130 characters. However, tidy does not change/split arguments for test template which leads robocop to complain that the line is too long.
Is this because
a) robot doesnt allow template arguments to be split into multiple lines ?
c) tidy doesn’t know how to split the arguments ?
SplitTooLongLine does not support splitting all Robot Framework types. Currently it will only work on too long keyword calls, variables and selected settings (tags and arguments). Missing types will be covered in the future updates.
However there’s also these parameters maybe:
split_on_every_arg
split_on_every_setting_arg
Hello @rasjani,
The issue is likely due to Robotidy’s configuration. By default, Robotidy’s SplitTooLongLine transformer does not split template arguments into multiple lines. You can change this behavior by setting the split_on_every_arg flag to True.
Here’s how you can update your pyproject.toml: medicarecard