Followingthe coding guidelines established in the project are something very important to keep the code clean,readable and understandable by others and Robocop can help to uphold the law.
Yes, Robocop integrates nicely with popular IDEs like PyCharm or VSCodethanks to Robot Framework Language Server.Read simple manual (README) in that project to figure out how to install & use it.
You can add command line options to an argument file, preferably one option with value for a line.Such file can be used as an input for Robocop with --argumentfile / -A option, e.g.robocop -A robocop.cfg. You can mix arguments from a file with ones provided in run command.
It is a default file that is loaded only when no command line options are provided for Robocop.When running plain robocop command, it looks for .robocop file from place where it was rununtil it finds .git file. Options can be provided like in the example above.
If there is no .robocop file and toml module is installed,Robocop will try to load configuration from pyproject.toml file (if it exists).Options have the same names as command line argumentsand need to be placed under [tool.robocop] section.
Yes, you can define and include custom rules using -rules / --ext-rules command line optionby providing a path to a file containing your rule(s). The option accepts comma-separated listof paths to files or directories, e.g.
If you feel that your rule is very helpful and should be included in Robocop permanently,you can always share your solution bysubmitting a pull request.You can also share your idea bycreating an issue.
Quality gates are the number specified for each severity (error, warning, info) that cannot beexceeded. Every violation of quality gates increases the return code by 1 up to maximum of 255.Default values for quality gates are:
3a8082e126