Permalink
Browse files

Rename site.reek => reek.yml and fix it

  • Loading branch information...
solnic committed Mar 9, 2013
1 parent 24da042 commit f084056f15836461973303eef2a66741147d48e8
Showing with 14 additions and 9 deletions.
  1. +14 −9 config/{site.reek → reek.yml}
@@ -27,12 +27,12 @@ LongParameterList:
overrides: {}
FeatureEnvy:
exclude: [
- Virtus::Attribute::Boolean#value_coerced?,
- Virtus::ClassMethods#build_attribute,
- Virtus::Coercion::TimeCoercions#to_string,
- Virtus::Coercion::TimeCoercions#coerce_with_method,
- Virtus::TypeLookup#determine_type_from_primitive,
- Virtus::ValueObject::ClassMethods#attribute
+ 'Virtus::Attribute::Boolean#value_coerced?',
+ 'Virtus::ClassMethods#build_attribute',
+ 'Virtus::Coercion::TimeCoercions#to_string',
+ 'Virtus::Coercion::TimeCoercions#coerce_with_method',
+ 'Virtus::TypeLookup#determine_type_from_primitive',
+ 'Virtus::ValueObject::ClassMethods#attribute'
]
enabled: true
ClassVariable:
@@ -63,15 +63,20 @@ LongMethod:
Duplication:
allow_calls: []
exclude: [
- Virtus::Attribute::DefaultValue#evaluate
+ 'Virtus::Attribute::DefaultValue#evaluate',
+ 'Virtus::Attribute#define_accessor_methods',
+ 'Virtus::Attribute#self.writer_options',
+ 'Virtus::Attribute::Accessor::LazyAccessor#get',
+ 'Virtus::Attribute::EmbeddedValue::OpenStructCoercer#call',
+ 'Virtus::Attribute::EmbeddedValue::StructCoercer#call'
]
enabled: true
max_calls: 1
UtilityFunction:
max_helper_calls: 1
exclude: [
- Virtus::Attribute::Boolean#value_coerced?,
- Virtus::ClassMethods#build_attribute
+ 'Virtus::Attribute::Boolean#value_coerced?',
+ 'Virtus::ClassMethods#build_attribute'
]
enabled: true
Attribute:

0 comments on commit f084056

Please sign in to comment.