-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (50 loc) · 1.15 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (50 loc) · 1.15 KB
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
46
47
48
49
50
fail_fast: true
repos:
- repo: local
hooks:
- id: ruff-format
name: ruff-format
entry: ruff format
language: system
types_or: [python, markdown]
require_serial: true
- id: ruff-check
name: ruff-check
entry: ruff check
language: system
args: [--fix, --exit-non-zero-on-fix]
types_or: [python, pyi]
require_serial: true
- repo: local
hooks:
- id: codespell
name: codespell
entry: codespell
language: system
types: [text]
require_serial: true
- repo: local
hooks:
- id: update-pyi-files
name: update-pyi-files
description: Update pyi files as needed
entry: python3 scripts/make_pyi.py
language: system
always_run: true
require_serial: true
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: system
types: [python]
require_serial: true
- repo: https://github.com/biomejs/pre-commit
rev: 19865851e014cbe6138e295365f95ca51bf953f8 # v0.6.1
hooks:
- id: biome-format
additional_dependencies: ['@biomejs/[email protected]']
args: [--indent-width, '2', --indent-style, space]
exclude: (\.css$|docs/app/)
require_serial: true