/pre-commit-robotframework-tidy

A pre-commit hook that will run Robot Framework's Tidy tool on all of your robot files

Primary LanguagePythonMIT LicenseMIT

pre-commit Robot Framework Tidy wrapper

This is a pre-commit hook that will run Robot Framework's Tidy tool on all of your robot files.

Add this to your .pre-commit-config.yaml file

-   repo: git://github.com/guykisel/pre-commit-robotframework-tidy
    rev: ''  # use the sha / tag you want to point at
    hooks:
    -   id: robotframework-tidy-wrapper

Available flags:

  • --use-pipes: Use pipes as delimiters instead of just spaces. Defaults to False.
  • --space-count: How many spaces to use as a delimiter. Defaults to 4.

Development: pip install -r requirements-dev.txt