Bump pre-commit gitlint to v0.17.0
[integration/test.git] / .pre-commit-config.yaml
1 ---
2 repos:
3   - repo: https://github.com/pre-commit/pre-commit-hooks
4     rev: v2.4.0  # Use the ref you want to point at
5     hooks:
6       - id: flake8
7         language_version: python3
8         additional_dependencies: ['flake8~=3.5.0']
9       - id: trailing-whitespace
10         # this hook will remove any blank lines at the end of a file, whereas the robot hook will add one
11         # so to prevent this conflict we will ignore .robot files in this trailing-whitespace hook
12         exclude: '\.robot'
13
14   - repo: https://github.com/psf/black
15     rev: 20.8b1
16     hooks:
17       - id: black
18
19   # FIXME: replace pre-commit-robotframework-tidy with robotidy once Python 3.7 is available
20   # https://github.com/MarketSquare/robotframework-tidy
21   - repo: https://github.com/guykisel/pre-commit-robotframework-tidy
22     rev: master
23     hooks:
24     - id: robotframework-tidy-wrapper
25       additional_dependencies: ['robotframework~=4.1.0']
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]