-
Notifications
You must be signed in to change notification settings - Fork 12
/
.pre-commit-config.yaml
37 lines (37 loc) · 1.06 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
minimum_pre_commit_version: "2.9.0"
repos:
- repo: https://github.com/Zac-HD/shed
rev: 2023.5.2
hooks:
- id: shed
# TODO(pcohen): bump to --py310-plus when Talon moves to Python 3.10.
args: [--refactor, --py39-plus]
types_or: [python, markdown, rst]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-merge-conflict
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.9-for-vscode"
hooks:
- id: prettier
files: ".*.(md|json|yaml)$"
- repo: https://github.com/ikamensh/flynt/
rev: "0.78"
hooks:
- id: flynt
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.1
hooks:
- id: remove-tabs
types: [file]
files: \.talon$
args: ["--whitespaces-count=4"]
- repo: https://github.com/wenkokke/talonfmt
rev: 1.10.2
hooks:
- id: talonfmt
args: ["--in-place", "--max-line-width=88"]