Releases: MarketSquare/robotframework-robocop
Releases · MarketSquare/robotframework-robocop
1.5.0
This release brings few small improvements and fixes critical issues that occur when using Robot Framework 4.0.
New rules
- E0311 (else-not-upper-case) checks if ELSE and ELSE IF branches in IF block are upper case #278
Fixes
- W1006 (mixed-tabs-and-spaces) should be able to report more than one rule violation per run #274
- W1007 (uneven-indent) should now support IF blocks #274
- E0303 (keyword-name-is-reserved-word) will not throw exception when there is only comment in the line #274
Other
1.4.1
1.4.0
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.
New rules
- W1010 (too-many-trailing-blank-lines) - Checks if there are too many blank lines at the end of the file #250
- W0906 (redundant-equal-sign) - Detects redundant equal sign in variable section #265
- W0308 (not-capitalized-test-case-title) - Checks if test case title starts with capital letter #267
- W0309 (section-variable-not-uppercase) - Variables in variable section should be uppercase #268
- W0310 (non-local-variables-should-be-uppercase) - Test, suite and global variables should be uppercased #268
- I0908 (if-can-be-used) - Suggests that
Run Keyword If
andRun Keyword Unless
can be now changed to new IF statements #259
Fixes
- W0302 (not-capitalized-keyword-name) now supports numbers inside keyword names #249
- W0306 (setting-name-not-capitalized) can detect all not capitalized settings for keyword and test case #266
Other
- Robocop now supports Robot Framework 4.0 #258 #254
- Robocop can now export results to JSON using new
JsonReport
#251 - Command line arguments can now be loaded from
.robocop
file #253 - New command line option
--list-reports
that displays all available reports #263 - Two rules are disabled when using RF4.0: nested-for-loop and invalid-comment
Acknowledgements
- Thanks to @andreagubellini for help with exporting rules #251
1.3.2
1.3.1
1.3.0
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 #236- new report
scan_timer
that prints how much time it took for scan to complete
Acknowledgements
- Szabolcs Tóth who did #243
1.2.1
1.2.0
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.
New rules
- W1009 (empty-line-after-section) - check if there are empty lines after section header and before any other line (#198)
Fixes
- Fix empty-section unnecessary raised for *** Comments *** section (#234)
- Fix rule for invalid syntax for [Teardown]
- Fix duplicated name rule for Variables import (it never ran due to typo)
- Reword too-many-arguments warning text (remove sentence suggesting splitting arguments to new lines) (#224)
- Fix not-capitalized-keyword-name to ignore special characters (#226)
- Fix not-capitalized-keyword-name to ignore possible library imports (#214)
Other
- Robocop now supports printing relative paths in rule message with {source_rel} (#222)
- Rules are now ordered in the docs (#217 and #228)
- Added acceptance testing for all rules (#46)
Acknowledgements
- Szabolcs Tóth who fixed #234
Robocop 1.1.0
Robocop 1.1.0 introduces new rule, moves existing rule to another group and enhances --list
feature. Details:
Changes to rules
- Added "mixed-tabs-and-spaces" rule for verifying if file does not contain both tabs and spaces
- Renamed "ineven-indent" rule to "uneven-indent". Moved "uneven-indent" and "bad-indent" rules from
misc
tospacing
group.
This is not backwards compatible change - the rule IDs change from "0904" and "0905" to "1007" and "1008" respectively
Enhanced --list
CLI option
- Added option to pass glob pattern to
--list
robocop --list some-rule*
- Added
--list-configurables
option to list rules with their configurable parameters
Other
- Updated examples in
external-checkers.rst
Acknowledgements
- Szabolcs Tóth who created "mixed-tabs-and-spaces" rule and updated our docs
Robocop 1.0.1
This release fixes the issue with circular imports when using Robocop installed from PyPi.