| 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 |
| 11 global: | 11 global: |
| 12 min_coverage: 50 | 12 min_coverage: 50 |
| 13 max_coverage: 100 | 13 max_coverage: 100 |
| 14 per_dir_default: | 14 per_dir_default: |
| 15 min_coverage: 1 | 15 min_coverage: 0 |
| 16 max_coverage: 100 | 16 max_coverage: 100 |
| 17 per_dir: | 17 per_dir: |
| 18 impl/prod: null | 18 impl/prod: null |
| 19 | 19 |
| 20 min_version: 0.4.7 | 20 min_version: 0.4.7 |
| 21 modes: | 21 modes: |
| 22 continuous-integration: | 22 continuous-integration: |
| 23 checks: | 23 checks: |
| 24 build: | 24 build: |
| 25 - build_all: false | 25 - build_all: false |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |