Skip to content

Commit

Permalink
Release 5.7.0 (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhirsz authored Dec 28, 2024
1 parent 7b165cd commit bbb8e39
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 1 deletion.
80 changes: 80 additions & 0 deletions docs/releasenotes/5.7.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
:orphan:

=============
Robocop 5.7.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.7.0

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

Rules
=====

Undefined argument default (#1144)
----------------------------------

New rule E0932 ``undefined-argument-default``.

It is technically possible to define keyword argument default with empty string::

*** Keywords ***
My Keyword
[Arguments] ${argument_name}=

This syntax is unclear and it is better to explicitly state that the valeu is empty using built-in variable::

*** Keywords ***
My Keyword
[Arguments] ${argument_name}=${EMPTY}

New rule catches all occurrences where argument have empty default value and reports it.

Undefined argument value (#1149)
---------------------------------

New rule E0933 ``undefined-argument-value``.

Similarly to ``undefined-argument-default``, it is possible to pass value to argument with empty string::

Keyword Call argument_name=

It is recommended to use explicit value instead::

Keyword Call argument_name=${EMPTY}

Fixes
=====

Relative imports in custom rule folder (#1122)
-----------------------------------------------

Custom rules directory is now automatically added to python path. It allows to use relative imports inside custom
rules module.

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
2 changes: 1 addition & 1 deletion robocop/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.6.0"
__version__ = "5.7.0"

0 comments on commit bbb8e39

Please sign in to comment.