-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
41 lines (41 loc) · 1.11 KB
/
.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
exclude: (^docs/)|(^.notebooks/)|(^site/)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v3.2.0"
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-ast
- id: check-toml
- id: debug-statements
- repo: https://github.com/econchick/interrogate
rev: "1.7.0"
hooks:
- id: interrogate
args: [-vv, --fail-under=0, ./cloud_function]
- repo: https://github.com/psf/black
rev: "24.3.0"
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.3.5"
hooks:
- id: ruff
args: [.]
- repo: https://github.com/PyCQA/bandit
rev: "1.7.8"
hooks:
- id: bandit
args: [--recursive, src]
additional_dependencies: [ "bandit[toml]" ]
- repo: https://github.com/pycqa/isort
rev: "5.13.2"
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.9.0"
hooks:
- id: mypy
args: [--ignore-missing-imports]
additional_dependencies: ['types-requests', 'types-cachetools']