forked from humanlayer/humanlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
45 lines (43 loc) · 1.18 KB
/
.pre-commit-config.yaml
File metadata and controls
45 lines (43 loc) · 1.18 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
hooks:
- id: check-case-conflict
exclude: ^hack/
- id: check-merge-conflict
exclude: ^hack/
- id: check-toml
exclude: ^hack/
- id: check-yaml
exclude: ^hack/
- id: end-of-file-fixer
exclude: ^hack/
- id: trailing-whitespace
exclude: ^hack/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.6"
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
exclude: ^(examples/|hack/)
- id: ruff-format
exclude: ^hack/
# Prettier disabled for now, no longer supported and breaking
# - repo: https://github.com/pre-commit/mirrors-prettier
# rev: "v3.0.3"
# hooks:
# - id: prettier
# - repo: https://github.com/tcort/markdown-link-check
# rev: "v3.12.2"
# hooks:
# - id: markdown-link-check
# args:
# [
# --quiet,
# --ignore=https://platform.openai.com/docs/guides/function-calling,
# ]
# - repo: https://github.com/psf/black-pre-commit-mirror
# rev: 24.8.0
# hooks:
# - id: black
# language_version: python3.11