-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (42 loc) · 1.3 KB
/
.pre-commit-config.yaml
File metadata and controls
46 lines (42 loc) · 1.3 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
# yaml-language-server: $schema=https://schemastore.org/pre-commit-config.json
exclude: |
(?x)(
{{cookiecutter.repo_name}}/|
tests/example-project/
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: mkdocs.yaml
- id: check-ast
- id: check-docstring-first
- id: check-merge-conflict
- id: mixed-line-ending
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.11.0
hooks:
- id: pretty-format-toml
args: [--autofix, --no-sort]
- repo: local
hooks:
- id: uv-lock
name: uv-lock
description: Runs uv lock when pyproject.toml changes
entry: uv lock
language: system
pass_filenames: false
files: pyproject.toml
- id: prettier
name: prettier
description: Runs Prettier Code Formatter
entry: prettier --write --ignore-unknown
args: ["--tab-width=4"]
language: node
types:
- text
additional_dependencies: