Move pep8 to pre-commit
[integration/test.git] / .pre-commit-config.yaml
1 ---
2 - repo: https://github.com/pre-commit/pre-commit-hooks
3   rev: v2.4.0  # Use the ref you want to point at
4   hooks:
5     - id: flake8
6       language_version: python2
7       additional_dependencies: ['flake8~=3.5.0']
8
9 - repo: https://github.com/pre-commit/mirrors-autopep8
10   rev: v1.4.4
11   hooks:
12     - id: autopep8
13
14 - repo: git://github.com/guykisel/pre-commit-robotframework-tidy
15   rev: 'master'
16   hooks:
17   - id: robotframework-tidy-wrapper
18     additional_dependencies: ['robotframework==3.1.1']  # Pin due to tidy warning in 3.1.2
19
20 - repo: https://github.com/jorisroovers/gitlint
21   rev: v0.11.0
22   hooks:
23   - id: gitlint
24
25 - repo: local
26   hooks:
27     - id: rstcheck
28       name: rstcheck
29       entry: rstcheck
30       files: '\.rst'
31       language: python
32       additional_dependencies: [rstcheck, sphinx]