blob: 7a3eed508e1397853bb6dfae00cac0879b24a746 [file] [log] [blame]
Mohammed Naserc3115c22022-08-30 18:52:23 -04001repos:
Mohammed Naser4b24d9b2022-11-02 13:14:52 -04002 - repo: https://github.com/pre-commit/pre-commit-hooks
3 rev: v4.3.0
4 hooks:
5 - id: end-of-file-fixer
6 - id: trailing-whitespace
7
Mohammed Naserc3115c22022-08-30 18:52:23 -04008 - repo: https://github.com/compilerla/conventional-pre-commit
9 rev: v2.0.0
10 hooks:
11 - id: conventional-pre-commit
Mohammed Naserf3a14a32022-09-19 15:15:39 -040012 stages:
Mohammed Naser6bf65352022-09-19 16:40:06 -040013 - commit-msg
14
Mohammed Naser4b24d9b2022-11-02 13:14:52 -040015 - repo: https://github.com/ansible/ansible-lint
16 rev: v6.8.6
Mohammed Naser6bf65352022-09-19 16:40:06 -040017 hooks:
18 - id: ansible-lint
19 files: \.(yaml|yml)$
Mohammed Naserf3a14a32022-09-19 15:15:39 -040020
21 - repo: https://github.com/psf/black
22 rev: 22.8.0
23 hooks:
24 - id: black
25
Mohammed Naser05ad9212022-09-19 16:46:29 -040026 - repo: https://github.com/pycqa/flake8
27 rev: 5.0.4
28 hooks:
29 - id: flake8
30
Mohammed Naserf3a14a32022-09-19 15:15:39 -040031 - repo: https://github.com/pycqa/isort
32 rev: 5.10.1
33 hooks:
34 - id: isort
35
Mohammed Naser4b24d9b2022-11-02 13:14:52 -040036 - repo: https://github.com/markdownlint/markdownlint
37 rev: v0.12.0
Mohammed Naserf3a14a32022-09-19 15:15:39 -040038 hooks:
Mohammed Naser4b24d9b2022-11-02 13:14:52 -040039 - id: markdownlint