-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
44 lines (42 loc) · 1.18 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
38
39
40
41
42
43
44
default_stages: [commit]
fail_fast: false
exclude: |
(?x)(
{{cookiecutter.repo_name}}/|
test/example-project/
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.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/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
args: [--print-width=88, --tab-width=4]
exclude: |
(?x)(
.github/semantic_release/release_notes.hbs
)
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.11.0
hooks:
- id: pretty-format-toml
args: [--autofix]
- repo: local
hooks:
- id: test
name: test
description: Runs Unit Tests
entry: hatch run test
language: system
pass_filenames: false
require_serial: false