Tool for static code analysis of Robot Framework language
APACHE-2.0 License
Bot releases are visible (Hide)
Published by mnojek over 3 years ago
This is mostly a bugfix release with minor changes to configurables and a big refactor in documentation.
line-too-long
(W0508) rule: #349
Thanks @d-biehl for resolving issue with line endings!
Published by bhirsz over 3 years ago
This release is mostly a big refactoring with parts of the code not touched since the very first commits. Some defaults has changed, some documentation has been updated. We made couple of fixes also and deprecated rule W0906 that is now exchanged with two new ones: W0909 and W0910. README is now written in markdown and it has a new expandable FAQ section at the bottom. There is also a new verbose mode and pyproject.toml
is now supported for tool configuration. These and many more are described in detail below. Enjoy! 👮🏻♂️
*** Test Cases ***
and *** Keywords ***
sections are the same type #295*** Variables ***
section are the same type #295Note: Possible values for W0909 and W0910 assignment_sign_type
parameter are: none
(without equal sign), equal_sign
('='), space_and_equal_sign
(' ='), autodetect
(detects the most common option and looks for inconsistencies in the code).
assignment_sign_type
with one of: equal_sign
('='), none
(''), space_and_equal_sign
(' ='). W0906 will be deleted in next bigger release (1.8.0) or in the following (1.9.0) if it will be too early. #321*** Variables ***
section should not cause fatal exception now #292pyproject.toml
is now supported #301 See documentation for more info docs
--list-configurables
, instead it's listed only once #304--list-configurables
now displays only rules that have configurable parameter #335--list-reports
output #335severity
parameter in other CLI options is now case-insensitive (both e/w/i and E/W/I are accepted) #335-vv / --verbose
flag for more detailed output #72 #335{'E': 0, 'W': 0, 'I': -1}
which means that any error or warning will make Robocop return non-zero status. -1 value means that issues with INFO severity will not affect return code. This can be configured by --configure return_status:quality_gate:E=<value>:W=<value>:I=<value
#335testcase_max_calls
: 8 → 10 (maximum amount of keyword calls inside test case)keyword_max_calls
: 8 → 10 (maximum amount of keyword calls inside keyword)keyword_min_calls
: 2 → 1 (minimum amount of keyword calls inside keyword)--ext_rules
option is now --ext-rules
option (changed underscore _
to hyphen -
) #335-nr
for --no-recursive
-lc
for --list-configurables
-lr
for --list-reports
-ft
for --filetypes
-g
for --ignore
Published by bhirsz over 3 years ago
Pack of fixes.
Published by bhirsz over 3 years ago
This release introduce initial support for integration with LSP. It makes possible to integrate Robocop with IDEs like Intellij and should enable us to add Robocop to other tools or plugins.
...
are aligned with starting row #285Published by bhirsz over 3 years ago
This release brings few small improvements and fixes critical issues that occur when using Robot Framework 4.0.
file_stats
can display overall statistics about number of processed files #262# noqa
as alternative to # robocop: disable
#269Published by mnojek over 3 years ago
Published by mnojek over 3 years ago
This release brings new rules and features that help to uphold the law.
It also prepares Robocop for new Robot Framework 4.0 release which will help fighting with new hordes of evil.
Run Keyword If
and Run Keyword Unless
can be now changed to new IF statements #259JsonReport
#251.robocop
file #253--list-reports
that displays all available reports #263Published by bhirsz over 3 years ago
Item's
) #248Published by bhirsz almost 4 years ago
Published by bhirsz almost 4 years ago
Another rule joined our justice department! And two small improvements.
ignored-data
rule - check if there is data before first section #243mixed-tabs-and-spaces
is now approx. 8 times faster #236scan_timer
that prints how much time it took for scan to completePublished by bhirsz almost 4 years ago
Published by bhirsz almost 4 years ago
Release 1.2.0 resolves mostly about improving quality (by introducing acceptance tests for the rules) but it also adds many fixes and one small feature.
Published by bhirsz about 4 years ago
Robocop 1.1.0 introduces new rule, moves existing rule to another group and enhances --list
feature. Details:
misc
to spacing
group.--list
CLI option--list
robocop --list some-rule*
--list-configurables
option to list rules with their configurable parametersexternal-checkers.rst
Published by bhirsz about 4 years ago
This release fixes the issue with circular imports when using Robocop installed from PyPi.
Published by bhirsz about 4 years ago
Initial release of Robocop