Skip to content

Commit a475d30

Browse files
committed
style: run formatter
1 parent 533b8a6 commit a475d30

1 file changed

Lines changed: 46 additions & 46 deletions

File tree

.pre-commit-hooks.yaml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
- id: todo-tags
2-
name: 'TODOs have tags'
2+
name: "TODOs have tags"
33
entry: todo-tags.py
44
types: [text]
5-
language: 'script'
5+
language: "script"
66
pass_filenames: true
77
minimum_pre_commit_version: 0.15.0
8-
exclude: 'vendor/'
8+
exclude: "vendor/"
99
description: "Checks changes contain only TODOs with JIRA tags"
1010

1111
- id: todo-branch-tags
12-
name: 'Outstanding TODOs for the current branch'
12+
name: "Outstanding TODOs for the current branch"
1313
entry: run-find-branch-todos.sh
1414
always_run: true
15-
language: 'script'
15+
language: "script"
1616
pass_filenames: false
1717
minimum_pre_commit_version: 0.15.0
18-
description: 'Prints any TODOs tagged with the ticket reference in the current branch name'
18+
description: "Prints any TODOs tagged with the ticket reference in the current branch name"
1919

2020
- id: branch-name-check
21-
name: 'Branch name obeys the standardised format'
21+
name: "Branch name obeys the standardised format"
2222
entry: run-branch-name-check.sh
2323
always_run: true
2424
pass_filenames: false
25-
language: 'script'
25+
language: "script"
2626
minimum_pre_commit_version: 0.15.0
27-
description: 'Checks branch names obeys the following regex'
27+
description: "Checks branch names obeys the following regex"
2828

2929
- id: go-test
30-
name: 'Go tests'
30+
name: "Go tests"
3131
entry: run-go-test.sh
3232
types: [go]
33-
language: 'script'
33+
language: "script"
3434
pass_filenames: false
3535
minimum_pre_commit_version: 0.15.0
3636
description: "Runs `go test ./...` at the repo root"
3737

3838
- id: go-goimports
39-
name: 'Check Go imports'
39+
name: "Check Go imports"
4040
entry: run-go-imports.sh
4141
types: [go]
42-
language: 'script'
42+
language: "script"
4343
pass_filenames: true
4444
minimum_pre_commit_version: 0.15.0
4545
description: "Runs `goimports` on changed files"
4646
require_serial: true
47-
exclude: 'vendor/'
47+
exclude: "vendor/"
4848

4949
- id: go-dep-check
50-
name: 'Dependencies are vendored (dep)'
50+
name: "Dependencies are vendored (dep)"
5151
entry: run-dep-check.sh
5252
types: [go]
53-
language: 'script'
53+
language: "script"
5454
pass_filenames: false
5555
minimum_pre_commit_version: 0.15.0
5656
description: "Runs `dep check`, ensuring all imports are vendored"
@@ -59,99 +59,99 @@
5959
# https://github.com/golangci/golangci-lint/commit/09677d574ea6cd05141022aa90b88b6598bfa1a1
6060
# without --fix forced on users.
6161
- id: go-golangci-lint
62-
name: 'Run golangci-lint'
62+
name: "Run golangci-lint"
6363
description: Static analysis for Go code
6464
entry: golangci-lint run
6565
types: [go]
6666
language: golang
6767
pass_filenames: false
6868

6969
- id: rust-check
70-
name: 'Cargo check'
70+
name: "Cargo check"
7171
entry: run-rust-check.sh
72-
language: 'script'
72+
language: "script"
7373
files: Cargo\.toml|\.rs$
7474
pass_filenames: false
7575
minimum_pre_commit_version: 0.15.0
76-
description: 'Run cargo check against all features & targets'
76+
description: "Run cargo check against all features & targets"
7777

7878
- id: rust-clippy
79-
name: 'Clippy lints'
79+
name: "Clippy lints"
8080
entry: run-rust-clippy.sh
81-
language: 'script'
81+
language: "script"
8282
files: Cargo\.toml|\.rs$
8383
pass_filenames: false
8484
minimum_pre_commit_version: 0.15.0
85-
description: 'Run clippy lints against rust code'
85+
description: "Run clippy lints against rust code"
8686

8787
- id: rust-test
88-
name: 'Cargo tests'
88+
name: "Cargo tests"
8989
entry: run-rust-tests.sh
90-
language: 'script'
90+
language: "script"
9191
files: Cargo\.toml|\.rs$
9292
pass_filenames: false
9393
minimum_pre_commit_version: 0.15.0
94-
description: 'Run cargo test in the repo root'
94+
description: "Run cargo test in the repo root"
9595

9696
- id: rust-fmt
97-
name: 'Cargo fmt'
97+
name: "Cargo fmt"
9898
entry: run-rust-fmt.sh
99-
language: 'script'
99+
language: "script"
100100
files: \.rs$
101101
pass_filenames: false
102102
minimum_pre_commit_version: 0.15.0
103-
description: 'Run cargo fmt in the repo root'
103+
description: "Run cargo fmt in the repo root"
104104

105105
- id: rust-doc
106-
name: 'Cargo doc'
106+
name: "Cargo doc"
107107
entry: run-rust-doc.sh
108-
language: 'script'
108+
language: "script"
109109
files: \.rs$
110110
pass_filenames: false
111111
minimum_pre_commit_version: 0.15.0
112-
description: 'Run cargo doc against public & private items'
112+
description: "Run cargo doc against public & private items"
113113

114114
- id: r-stylr
115-
name: 'Format with stylr'
115+
name: "Format with stylr"
116116
entry: run-r-stylr.R
117-
language: 'script'
117+
language: "script"
118118
files: (?i)\.R$
119119
pass_filenames: true
120120
minimum_pre_commit_version: 0.15.0
121-
description: 'Run stylr to format R code'
121+
description: "Run stylr to format R code"
122122

123123
- id: r-lintr
124-
name: 'Analyse with lintr'
124+
name: "Analyse with lintr"
125125
entry: run-r-lintr.R
126-
language: 'script'
126+
language: "script"
127127
files: (?i)\.R$
128128
pass_filenames: true
129129
minimum_pre_commit_version: 0.15.0
130-
description: 'Run lintr against R code'
130+
description: "Run lintr against R code"
131131

132132
- id: r-readme
133-
name: 'Generated README.Rmd'
133+
name: "Generated README.Rmd"
134134
entry: run-r-readme.sh
135-
language: 'script'
135+
language: "script"
136136
files: README\.Rmd$
137137
pass_filenames: false
138138
minimum_pre_commit_version: 0.15.0
139-
description: 'Check README.md in-sync with README.Rmd'
139+
description: "Check README.md in-sync with README.Rmd"
140140

141141
- id: buf-lint
142-
name: 'Lint protobuf files'
142+
name: "Lint protobuf files"
143143
entry: buf-lint.sh
144144
types: [proto]
145-
language: 'script'
145+
language: "script"
146146
pass_filenames: false
147147
minimum_pre_commit_version: 0.15.0
148148
description: "Runs buf lint at the repo root"
149149

150150
- id: buf-breaking
151-
name: 'Check protobuf for breaking changes'
151+
name: "Check protobuf for breaking changes"
152152
entry: buf-breaking.sh
153153
types: [proto]
154-
language: 'script'
154+
language: "script"
155155
pass_filenames: false
156156
minimum_pre_commit_version: 0.15.0
157-
description: "Runs buf breaking at the repo root"
157+
description: "Runs buf breaking at the repo root"

0 commit comments

Comments
 (0)