-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (34 loc) · 892 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (34 loc) · 892 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
32
33
34
35
# Copyright (c) 2025 The ZMK Contributors
# SPDX-License-Identifier: MIT
fail_fast: false
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/pycqa/isort
rev: "6.0.1"
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: "25.1.0"
hooks:
- id: black
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-tabs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-yaml
exclude: ^zmk/templates
- id: check-added-large-files
- id: check-shebang-scripts-are-executable
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v0.4.37
hooks:
- id: tombi-format
- id: tombi-lint