Built-in Robotframework Tidy tool has been deprecated and the pre-commit
hook (robotframework-tidy-wrapper) based on the tool has not been
updated for more than 2 years.
Replace the pre-commit hook with robotidy as recommended.
JIRA: INTTEST-132
Change-Id: I94f26ec87513c504f878069b787cdc0c6a6e34e6
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
hooks:
- id: black
- # FIXME: replace pre-commit-robotframework-tidy with robotidy once Python 3.7 is available
- # https://github.com/MarketSquare/robotframework-tidy
- # - repo: https://github.com/guykisel/pre-commit-robotframework-tidy
- # rev: master
- # hooks:
- # - id: robotframework-tidy-wrapper
- # additional_dependencies: ['robotframework~=4.1.0']
+ - repo: https://github.com/MarketSquare/robotframework-tidy
+ rev: 3.2.0
+ hooks:
+ - id: robotidy
+ additional_dependencies: ['robotframework']
- repo: https://github.com/jorisroovers/gitlint
rev: v0.17.0