Skip to content

Commit

Permalink
Fix codeclimate
Browse files Browse the repository at this point in the history
We have no desire to evaluate code that's simply copied from prometheus
and test code can violate good style for legitimate reasons.
  • Loading branch information
JLockerman committed Sep 2, 2020
1 parent 0490b5b commit 3b30877
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
exclude_patterns:
- "pkg/prompb/"
- "**/*_test.go"
- "pkg/prompb/" # autogenerated
- "pkg/promql" # from prometheus upstream
checks:
file-lines:
config:
threshold: 350 # ideal number is 300 plus a little leeway

0 comments on commit 3b30877

Please sign in to comment.