Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Adjust codeclimate and codecov settings (gopasspw#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikschulz authored Jan 4, 2018
1 parent 72000bd commit a5ba8a5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
engines:
version: "2"

checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 250
method-complexity:
config:
threshold: 16
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 100
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4

plugins:
gofmt:
enabled: true
golint:
Expand All @@ -10,5 +38,7 @@ ratings:
paths:
- "**.go"

exclude_paths:
exclude_patterns:
- "vendor/"
- "utils/notify/icon.go"
- "**/*_test.go"
6 changes: 6 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage:
range: 40..90
round: nearest
precision: 2
ignore:
- "vendor/"

0 comments on commit a5ba8a5

Please sign in to comment.