Skip to content

Commit

Permalink
generate reek
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Dec 11, 2021
1 parent b65ff0a commit 4d9ed0c
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 35 deletions.
4 changes: 4 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ plugins:
score_threshold: 20.0
reek:
enabled: true
fixme:
enabled: true
rubocop:
enabled: true
96 changes: 61 additions & 35 deletions .reek.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,70 @@
# Auto generated by Reeks --todo flag
---
detectors:
ControlParameter:
DataClump:
exclude:
- "::::Object#get"
- Remap::Compiler
DuplicateMethodCall:
exclude:
- "::::Enumerable#get"
- Remap::Failure#merge
- Remap::Mapper::And#call!
- Remap::Mapper::Xor#call!
- Hash#execute
- Remap::Rule::Map#call
- Remap::Selector::Index#call
- Remap::Selector::Key#call
- Hash#failure
- Hash#set
- "::::Enumerable#get"
- Remap::Static::Option#call
FeatureEnvy:
exclude:
- Remap::Iteration::Array#reduce
- Remap::Iteration::Hash#reduce
- Remap::Rule::Map#if
- Remap::Rule::Map#if_not
- Hash#paths
IrresponsibleModule:
exclude:
- self::Mapper
- self::Mapper::Linux
- self::Mapper::Windows
- Vehicle
- Vehicle::Bicycle
- Vehicle::Car
- Support
- Fixed
- Remap::Base
- Remap::ClassInterface
- Remap
- Remap::Constructor
- Remap::Contract
- Remap::Error
- Remap::Extensions
- Remap::Extensions::Enumerable
- Remap::Extensions::Hash
- Remap::Extensions::Object
- Remap::Failure
- Remap::Iteration
- Remap::Mapper
- Remap::Mapper::Binary
- Remap::Mapper::Operations
- Remap::Nothing
- Remap
- Remap::Notice::Traced
- Remap::Notice::Untraced
- Remap::Notice
- Remap::Notice::Error
- Remap::Path
- Remap::Result
- Remap::PathError
- Remap::Proxy
- Remap::Rule
- Remap::Rule::Collection
- Remap::Rule::Enum
- Remap::Rule::Block
- Remap::Rule::Map::Enum
- Remap::Rule::Map
- Remap::Rule::Map::Optional
- Remap::Rule::Map::Required
- Remap::Rule::Map::Path
- Remap::Selector
- Remap::State::Extension
- Remap::State::Extensions
- Remap::Extensions::Enumerable
- Remap::State::Extensions::Object
- Remap::State::Dummy
- Remap::Static
LongParameterList:
exclude:
Expand All @@ -57,70 +79,74 @@ detectors:
- Remap::Mapper::Xor
NestedIterators:
exclude:
- Remap::Iteration::Array#call
- Remap::Iteration::Hash#call
- Remap::Compiler#embed
- Remap::Mapper::And#call!
- Remap::Mapper::Or#call!
- Remap::Mapper::Xor#call!
- Remap::Operation#call
- Remap::Path::Input#call
- Remap::Rule::Block#call
- Remap::Rule::Map#call
- Remap::Rule::Map#callback
- Remap::Rule::Map#enum
- Remap::Rule::Map#if
- Remap::Rule::Map#if_not
- Hash#bind
- Hash#failure
- Hash#map
RepeatedConditional:
exclude:
- Remap::Compiler
- Hash#paths
TooManyConstants:
exclude:
- Remap::Types
TooManyMethods:
exclude:
- Remap::Compiler
TooManyStatements:
exclude:
- initialize
- Remap::Base#call
- Remap::Contract#self.call
- "::::Enumerable#get"
- Remap::Mapper::And#call!
- Remap::Mapper::Xor#call!
- Remap::Operation#call
- Remap::Rule::Map::Required#call
- Remap::Rule::Map#call
- Remap::Selector::Index#call
- Remap::Selector::Key#call
- Hash#combine
- Hash#execute
UncommunicativeMethodName:
exclude:
- Support#Failure
UncommunicativeVariableName:
exclude:
- Fixed
- Remap::Base#self.call!
- Remap::Base#self.define
- Remap::Compiler#set
- Remap::Compiler#wrap
- Remap::Constructor::Argument#call
- Remap::Constructor::Keyword#call
- Remap::Failure#merge
- Remap::Mapper::And#call!
- Remap::Mapper::Or#call!
- Remap::Mapper::Operations#&
- Remap::Mapper::Operations#^
- Remap::Mapper::Operations#|
- Remap::Mapper::Xor#call!
- Hash#combine
- Hash#execute
- Remap::Static::Option#call
UnusedParameters:
exclude:
- Remap::Compiler#rule?
- Remap::Compiler#wrap
- Remap::Iteration#call
- Remap::Path#call
- Remap::Rule::Map#fatal
- Remap::Rule#call
- Remap::Selector#call
- Remap::Static#call
UtilityFunction:
exclude:
- Support#Failure
- Support#all!
- Support#array!
- Support#hash!
- Support#index!
- Support#input_path!
- Support#int!
- Support#output_path!
- Support#static!
- Support#string!
- Support#void!
- Remap::Compiler#all
- Remap::Compiler#option
- Remap::Compiler#value
- Remap::Rule::Collection::Empty#call
- Remap::ClassInterface#define
- Remap::Rule::Void#call
- Hash#reason

0 comments on commit 4d9ed0c

Please sign in to comment.