File: .pre-commit-config.yaml

package info (click to toggle)
golang-github-aanand-compose-file 0.0~git20161122.0.a3e5876-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 604 kB
  • ctags: 567
  • sloc: makefile: 12; sh: 9
file content (26 lines) | stat: -rw-r--r-- 732 bytes parent folder | download
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
- repo: git://github.com/pre-commit/pre-commit-hooks
  sha: 'v0.5.1'
  hooks:
    - id: check-merge-conflict
    - id: end-of-file-fixer
      files: '(\.(go|md|sh|yml|yaml|json|ini|rst)|Dockerfile.*)$'
      exclude: '^vendor/'
    - id: trailing-whitespace
      files: '(\.(go|md|sh|yml|yaml|json|ini|rst)|Dockerfile.*)$'
      args: ['--no-markdown-linebreak-ext']
      exclude: '^vendor/'
    - id: check-yaml
      exclude: '^vendor/'
    - id: check-json
      exclude: '^vendor/'

- repo: git://github.com/dnephin/pre-commit-golang
  sha: HEAD
  hooks:
    - id: go-fmt
      exclude: '^vendor/'
      args: ['-s']
    - id: go-lint
      exclude: '^(vendor/|schema/bindata\.go)'
    - id: go-vet
      exclude: '^vendor/'