blob: b2bf0abe7c562ca687bc292f15fcfaa91220e4d2 [file] [log] [blame]
Mohammed Naserc3115c22022-08-30 18:52:23 -04001repos:
2 - repo: https://github.com/compilerla/conventional-pre-commit
3 rev: v2.0.0
4 hooks:
5 - id: conventional-pre-commit
Mohammed Naserf3a14a32022-09-19 15:15:39 -04006 stages:
Mohammed Naser6bf65352022-09-19 16:40:06 -04007 - commit-msg
8
9 - repo: https://github.com/ansible-community/ansible-lint
10 rev: v6.6.0
11 hooks:
12 - id: ansible-lint
13 files: \.(yaml|yml)$
Mohammed Naserf3a14a32022-09-19 15:15:39 -040014
15 - repo: https://github.com/psf/black
16 rev: 22.8.0
17 hooks:
18 - id: black
19
Mohammed Naser05ad9212022-09-19 16:46:29 -040020 - repo: https://github.com/pycqa/flake8
21 rev: 5.0.4
22 hooks:
23 - id: flake8
24
Mohammed Naserf3a14a32022-09-19 15:15:39 -040025 - repo: https://github.com/pycqa/isort
26 rev: 5.10.1
27 hooks:
28 - id: isort
29
30 - repo: https://github.com/pre-commit/pre-commit-hooks
31 rev: v4.3.0
32 hooks:
33 - id: end-of-file-fixer
34 - id: trailing-whitespace