Hi everyone!
I’m planning to start using robotframework tidy and I have a question
Is it possible to tell the robotidy tool to look for ${var}=
I mean if equal sign is missing then print a warning or return code 1?
Thanks in advance !
Hi everyone!
I’m planning to start using robotframework tidy and I have a question
Is it possible to tell the robotidy tool to look for ${var}=
I mean if equal sign is missing then print a warning or return code 1?
Thanks in advance !
Hi,
About warning and return code, Robotidy rather transforms the code based on transformers, whereas Robocop detects the issues based on rules.
You can however configure tidy to overwrite or not your file and generate the diff file.
But what you are looking might be this transformer:
NormalizeAssignments
https://robotidy.readthedocs.io/en/stable/transformers/NormalizeAssignments.html
You’ll the second example shows how to set the sign.
Regards
Charlie