-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
45 lines (45 loc) · 1.27 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
42
43
44
45
minimum_pre_commit_version: "2.9.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
- id: check-yaml
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: detect-private-key
- id: fix-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
exclude: "^tests/data/golden"
- repo: https://github.com/ikamensh/flynt/
rev: "1.0.1"
hooks:
- id: flynt
- repo: https://github.com/pycqa/isort
rev: "5.13.2"
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: "24.10.0"
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.13.0"
hooks:
- id: mypy
args: ["--config-file", "pyproject.toml"]
exclude: "^src/tree_sitter_talon/_internal/dynamic\\.py$"
additional_dependencies:
- "dataclasses_json"
- "importlib_resources"
- "parsec"
- "types_setuptools"
- "pytest"
- "pytest_golden"