forked from hatchet-dev/hatchet-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (31 loc) · 802 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (31 loc) · 802 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: mixed-line-ending
args: ["--fix=lf"]
- id: end-of-file-fixer
exclude: \.sql
- id: check-yaml
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
additional_dependencies: ["isort[pyproject]"]
exclude: _pb2(_grpc)?\.py
types:
- python
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
args: ["--config=pyproject.toml"]
exclude: _pb2(_grpc)?\.py
types:
- python
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
- id: mypy
args: [--config-file=pyproject.toml]