Replace robotframework-tidy-wrapper with robotidy
[integration/test.git] / .pre-commit-config.yaml
1 ---
2 repos:
3   - repo: https://github.com/pre-commit/pre-commit-hooks
4     rev: v4.1.0  # Use the ref you want to point at
5     hooks:
6       - id: trailing-whitespace
7         # this hook will remove any blank lines at the end of a file, whereas the robot hook will add one
8         # so to prevent this conflict we will ignore .robot files in this trailing-whitespace hook
9         exclude: '\.robot'
10
11   - repo: https://github.com/PyCQA/flake8
12     rev: 4.0.1
13     hooks:
14       - id: flake8
15
16   - repo: https://github.com/psf/black
17     rev: 22.8.0
18     hooks:
19       - id: black
20
21   - repo: https://github.com/MarketSquare/robotframework-tidy
22     rev: 3.2.0
23     hooks:
24     - id: robotidy
25       additional_dependencies: ['robotframework']
26
27   - repo: https://github.com/jorisroovers/gitlint
28     rev: v0.17.0
29     hooks:
30     - id: gitlint
31
32   - repo: local
33     hooks:
34       - id: rstcheck
35         name: rstcheck
36         entry: rstcheck
37         files: '\.rst'
38         language: python
39         additional_dependencies: [rstcheck, sphinx]