Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.3.0 #1098

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions docs/releasenotes/5.3.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
:orphan:

=============
Robocop 5.3.0
=============

You can install the latest available version by running

::

pip install --upgrade robotframework-robocop

or to install exactly this version

::

pip install robotframework-robocop==5.3.0

.. contents::
:depth: 2
:local:



Rule changes
============

New unused-keyword rule (#1017)
-------------------------------

New I10101 ``unused-keyword`` community rule. This optional rule finds not used keywords defined in suites (robot files
with tests/tasks) or private keywords (keywords with ``robot:private`` tag).

For example::

*** Test Cases ***
Test that only non used keywords are reported
Used Keyword

*** Keywords ***
Not Used Keyword # this keyword will be reported as not used
[Arguments] ${arg}
Should Be True ${arg}>50

This rule will be developed in the future releases to cover other sources like resource files.
empty-variable can be now disabled for VAR (#1056)
--------------------------------------------------

I0912 ``empty-variable`` received new parameter ``variable_source`` which allows to enable the rule either only for
variables from ```*** Variables ***``` section or only ``VAR`` statements. By default it works on both.

New first-argument-in-new-line rule (#1001)
-------------------------------------------

New W1018 ``first-argument-in-new-line`` rule that checks if first argument is placed in the same line as
``[Argument]`` setting.

This rule covers Robot Framework Style Guide recommendation:

https://docs.robotframework.org/docs/style_guide#line-continuation-for-arguments-in-keyword-definition

Acknowledgements
================

Thanks to the whole community for submitting bug reports and feature requests.
Without you, Robocop wouldn't be in the place where it is now. All the feedback
is essential to drive the tool towards higher quality and better user
experience.

If you want to help us more, consider contributing to the project directly.
We can offer our constant support to make the work fun and effective. We do
our best to create a supportive and welcoming environment for everyone.
Feel free to ping us on our official `#robocop-linter Slack channel`_ anytime.

.. _#robocop-linter Slack channel: https://robotframework.slack.com/archives/C01AWSNKC2H
19 changes: 0 additions & 19 deletions docs/releasenotes/unreleased/rules.1.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/releasenotes/unreleased/rules.2.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/releasenotes/unreleased/rules.3.rst

This file was deleted.

2 changes: 1 addition & 1 deletion robocop/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.2.0"
__version__ = "5.3.0"
Loading