forked from Georepublic/bucket-antivirus-function
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
41 lines (36 loc) · 946 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
38
39
40
41
repos:
- repo: https://github.com/ambv/black
rev: 23.12.1
hooks:
- id: black
language_version: python3.12
exclude: >
(?x)^(
scripts/gen-docs-index|
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-yaml
exclude: deploy/
- id: debug-statements
- id: detect-private-key
- id: fix-encoding-pragma
- id: trailing-whitespace
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
hooks:
- id: markdownlint
entry: markdownlint --ignore .github/*.md
- repo: https://github.com/aws-cloudformation/cfn-python-lint
rev: v0.84.0
hooks:
- id: cfn-python-lint
files: deploy/