forked from warpnet/salt-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (37 loc) · 975 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.0.1
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-merge-conflict
# TODO(roaldnefs): re-enable once it's fixed on a GitHub workflow run
# - repo: https://github.com/jumanjihouse/pre-commit-hooks.git
# rev: 2.1.4
# hooks:
# - id: markdownlint
# args: ["-r ~MD013,~MD029,~MD041"]
- repo: https://github.com/IamTheFij/docker-pre-commit.git
rev: v2.0.1
hooks:
- id: hadolint
files: docker/Dockerfile
- repo: https://github.com/pycqa/flake8.git
rev: 5.0.4
hooks:
- id: flake8
exclude: '^$|.git|tests|env|docs'
- repo: https://github.com/codespell-project/codespell.git
rev: v2.1.0
hooks:
- id: codespell
args:
- '--skip="./.git*,./saltlint/rules/FileManagedReplaceContentRule.py"'
- '-L alse'
- repo: https://github.com/PyCQA/pylint.git
rev: v2.15.9
hooks:
- id: pylint
exclude: ^docs/