Robocop 2.0.2
This 2.0.2 release 🎉 includes fixes for various parts of Robocop 🤖 and improves documentation 📖. Thanks everyone for finding the issues 🐞 and reporting them back to us!
Fixes 🐛
- Fixed rule W0319 (deprecated-statement) which reported deprecation on
[Return]statement in RF4 (#589, #590) - Rule W0901 (keyword-after-return) no longer reports warning on
[Return]not being the last statement when[Teardown]is used at the end of the keyword (#588, #591) - Updated rule W0302 (wrong-case-in-keyword-name) to better handle parenthesis used in keyword and test case names (#558, #596)
- Updated rules W1004 (empty-lines-between-test-cases) and W1005 (empty-lines-between-keywords) to allow comments between keywords and test cases in corresponding sections (#513, #599)
- Fixed rule W0319 (deprecated-statement) to show deprecation message for
Run Keyword Unlesskeyword only in RF5 (#593, #598) - Updated message for rule W0302 (wrong-case-in-keyword-name) to
"Keyword name '{{ keyword_name }}' does not follow case convention"to properly reflect what's being checked (#548, #600) - Updated rule I0912 (empty-variable) to properly mark variable type in recommendations for empty values (#592, #597)
- Fixed rule W0202 (missing-doc-test-case) to not report on every test case when templated suite is used.
Also, a new parameterignore_templated(set toTrueby default) is introduced to configure whether the rule should report on missing documentation for each templated test case or not (possible values are: Yes / 1 / True (default) or No / False / 0) (#526, #602)
Other 📈
- Updated examples in documentation (README and User Guide) (#601)
- Added examples in reports documentation (#601)
- Robocop can now correctly say if a noun is plural or singular (e.g.
2 rulesinstead of2 rule(s)) (#601) - Fixed small typos in documentation, docstrings and sorted imports in code (#603)
- Removed repo visualization file (due to problems with related GitHub action) (#607)
Acknowledgements 💪🏻
Big thanks to a great community for finding and reporting bugs! You make the tool better and you rock 🤘 (random order)
@rousku for reporting bug on W0319 (#589)
@IlfirinPL for reporting bugs on W0901 (#588) and I0912 (#592)
@rikerfi for reporting bug on W0302 (#558)
@polewczakp for reporting bug on W1004 (#513)
@MoreFamed for reporting bug on W0319 (#593)
@KUGA2 for reporting issue with W0302 rule's message (#548)
@Leemur89 for reporting bug on W0202 (#526)