-
Notifications
You must be signed in to change notification settings - Fork 214
/
.pre-commit-config.yaml
37 lines (37 loc) · 1.1 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- id: check-json
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
exclude: "vendor"
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
args: ["--config=jac/.flake8"]
additional_dependencies:
[
pep8-naming,
flake8_import_order,
flake8_docstrings,
flake8_comprehensions,
flake8_bugbear,
flake8_annotations,
flake8_simplify,
]
exclude: "examples|vendor|langserve/tests|pygame_mock|generated|__jac_gen__"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
hooks:
- id: mypy
exclude: "venv|__jac_gen__|tests|stubs|support|vendor|examples/reference|setup.py|generated"
args:
- --follow-imports=silent
- --ignore-missing-imports