Skip to content

Instantly share code, notes, and snippets.

@helinwang
Created March 2, 2018 22:29
Show Gist options
  • Save helinwang/b11a1aecd606b7f0956aa5c55238bb9a to your computer and use it in GitHub Desktop.
Save helinwang/b11a1aecd606b7f0956aa5c55238bb9a to your computer and use it in GitHub Desktop.
PaddlePaddle EDL .pre-commit-config.yaml
- repo: https://github.com/dnephin/pre-commit-golang
sha: e4693a4c282b4fc878eda172a929f7a6508e7d16
hooks:
- id: go-fmt
files: \.go$
- id: go-lint
files: \.go$
exclude: (.*\/client\/.*\.go|.*\generated\.deepcopy\.go)$
- repo: local
hooks:
- id: copyright_checker
name: copyright_checker
entry: python ./.copyright.hook
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment