Auto-generated patch by python-black
[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/guykisel/pre-commit-robotframework-tidy
15     rev: master
16     hooks:
17     - id: robotframework-tidy-wrapper
18       additional_dependencies: ['robotframework']
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]