Skip to content

Commit 40038b5

Browse files
committed
pre-commit: add yamlfmt
1 parent ae6fcb5 commit 40038b5

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ repos:
3939
^Turbomole|
4040
^XTB
4141
)
42+
- repo: https://github.com/google/yamlfmt
43+
rev: "v0.17.2"
44+
hooks:
45+
- id: yamlfmt
4246
- repo: local
4347
hooks:
4448
- id: sort-regressionfiles-yaml

.yamlfmt.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
continue_on_error: false
3+
doublestar: false
4+
exclude: []
5+
extensions:
6+
- yaml
7+
- yml
8+
gitignore_excludes: false
9+
gitignore_path: .gitignore
10+
include: []
11+
line_ending: lf
12+
match_type: standard
13+
output_format: default
14+
regex_exclude: []
15+
formatter:
16+
array_indent: 0
17+
disable_alias_key_correction: false
18+
disallow_anchors: false
19+
drop_merge_tag: false
20+
eof_newline: true
21+
force_array_style: ""
22+
include_document_start: true
23+
indent: 2
24+
indent_root_array: false
25+
indentless_arrays: false
26+
line_ending: lf
27+
max_line_length: 0
28+
pad_line_comments: 2
29+
retain_line_breaks: false
30+
retain_line_breaks_single: true
31+
scan_folded_as_literal: false
32+
strip_directives: false
33+
trim_trailing_whitespace: true
34+
type: basic

0 commit comments

Comments
 (0)