Robotframework-robocop

Latest version: v5.4.0

Safety actively analyzes 666166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 10

1.2.0

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](https://github.com/szabolcstoth) who fixed #234

1.1.1

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` to `spacing` 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](https://github.com/szabolcstoth) who created "mixed-tabs-and-spaces" rule and updated our docs

1.0.1

This release fixes the issue with circular imports when using Robocop installed from PyPi.

1.0.0

Initial release of Robocop

Page 10 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.