Address or whitelist reek issues

This commit is contained in:
Markus Schirp 2014-04-22 17:55:58 +00:00
parent 6eba9ea903
commit af64596ca9
2 changed files with 3 additions and 1 deletions

View file

@ -54,6 +54,7 @@ NestedIterators:
- Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats - Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats
- Mutant::RequireHighjack#infect - Mutant::RequireHighjack#infect
- Mutant::RequireHighjack#desinfect - Mutant::RequireHighjack#desinfect
- Parser::Lexer#self.new
max_allowed_nesting: 1 max_allowed_nesting: 1
ignore_iterators: [] ignore_iterators: []
NilCheck: NilCheck:
@ -126,7 +127,7 @@ UncommunicativeVariableName:
- !ruby/regexp /^.$/ - !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/ - !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/ - !ruby/regexp /[A-Z]/
accept: [] accept: ['force_utf32']
UnusedParameters: UnusedParameters:
enabled: true enabled: true
exclude: [] exclude: []

View file

@ -1,6 +1,7 @@
module Mutant module Mutant
class Mutator class Mutator
class Node class Node
# Emitter for perl style match current line node
class MatchCurrentLine < self class MatchCurrentLine < self
handle :match_current_line handle :match_current_line