forked from awesome-algorand/awesome-algorand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (34 loc) · 982 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
rev: v4.4.0
hooks:
- id: check-yaml
stages: [commit]
exclude: ^indexed_docs/
- id: end-of-file-fixer
stages: [commit]
types: [python]
exclude: ^indexed_docs/
- id: trailing-whitespace
stages: [commit]
exclude: ^indexed_docs/
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
stages: [commit]
exclude: ^indexed_docs/
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: "v0.0.243"
hooks:
- id: ruff
args: ["--fix"]
stages: [commit]
exclude: ^indexed_docs/
- repo: https://github.com/PyCQA/bandit
rev: "1.7.5"
hooks:
- id: bandit
args: ["-x", "tests/*"]
exclude: ^indexed_docs/