Skip to content

Commit

Permalink
Change devtools, flay, flog and reek thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Dec 3, 2013
1 parent 6cb0ea7 commit 17582cc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions config/devtools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
unit_test_timeout: 0.1
fail_on_branch:
- "master"
- "devtools"
4 changes: 2 additions & 2 deletions config/flay.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
threshold: 0
total_score: 0
threshold: 7
total_score: 36
2 changes: 1 addition & 1 deletion config/flog.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
threshold: 0
threshold: 14.0
12 changes: 8 additions & 4 deletions config/reek.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
Attribute:
enabled: true
exclude: []
exclude:
- Memoizable::MethodBuilder
BooleanParameter:
enabled: true
exclude: []
Expand Down Expand Up @@ -40,7 +41,8 @@ LongYieldList:
max_params: 2
NestedIterators:
enabled: true
exclude: []
exclude:
- Memoizable::MethodBuilder#create_memoized_method
max_allowed_nesting: 1
ignore_iterators: []
NilCheck:
Expand All @@ -52,7 +54,8 @@ RepeatedConditional:
max_ifs: 1
TooManyInstanceVariables:
enabled: true
exclude: []
exclude:
- Memoizable::MethodBuilder
max_instance_variables: 3
TooManyMethods:
enabled: true
Expand All @@ -61,8 +64,9 @@ TooManyMethods:
TooManyStatements:
enabled: true
exclude:
- Memoizable::MethodBuilder#initialize
- each
max_statements: 2
max_statements: 5
UncommunicativeMethodName:
enabled: true
exclude: []
Expand Down

0 comments on commit 17582cc

Please sign in to comment.