| OLD | NEW |
| 1 # https://github.com/maruel/pre-commit-go configuration file to run checks | 1 # https://github.com/maruel/pre-commit-go configuration file to run checks |
| 2 # automatically on commit, on push and on continuous integration service after | 2 # automatically on commit, on push and on continuous integration service after |
| 3 # a push or on merge of a pull request. | 3 # a push or on merge of a pull request. |
| 4 # | 4 # |
| 5 # See https://godoc.org/github.com/maruel/pre-commit-go/checks for more | 5 # See https://godoc.org/github.com/maruel/pre-commit-go/checks for more |
| 6 # information. | 6 # information. |
| 7 | 7 |
| 8 coverage_settings: &COVERAGE_SETTINGS | 8 coverage_settings: &COVERAGE_SETTINGS |
| 9 use_global_inference: false | 9 use_global_inference: false |
| 10 use_coveralls: false | 10 use_coveralls: false |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 - <<: *COVERAGE_SETTINGS | 28 - <<: *COVERAGE_SETTINGS |
| 29 use_coveralls: true | 29 use_coveralls: true |
| 30 gofmt: | 30 gofmt: |
| 31 - {} | 31 - {} |
| 32 goimports: | 32 goimports: |
| 33 - {} | 33 - {} |
| 34 test: | 34 test: |
| 35 - extra_args: | 35 - extra_args: |
| 36 - -v | 36 - -v |
| 37 - -race | 37 - -race |
| 38 max_duration: 480 | 38 max_duration: 1200 |
| 39 lint: | 39 lint: |
| 40 checks: | 40 checks: |
| 41 golint: | 41 golint: |
| 42 - blacklist: [] | 42 - blacklist: [] |
| 43 govet: | 43 govet: |
| 44 - blacklist: | 44 - blacklist: |
| 45 - ' composite literal uses unkeyed fields' | 45 - ' composite literal uses unkeyed fields' |
| 46 max_duration: 20 | 46 max_duration: 20 |
| 47 pre-commit: | 47 pre-commit: |
| 48 checks: | 48 checks: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 65 - extra_args: | 65 - extra_args: |
| 66 - -v | 66 - -v |
| 67 - -race | 67 - -race |
| 68 max_duration: 120 | 68 max_duration: 120 |
| 69 | 69 |
| 70 ignore_patterns: | 70 ignore_patterns: |
| 71 - .* | 71 - .* |
| 72 - _* | 72 - _* |
| 73 - '*.pb.go' | 73 - '*.pb.go' |
| 74 - '*_string.go' | 74 - '*_string.go' |
| OLD | NEW |