Fix or whitelist reek reported problems
This commit is contained in:
parent
53fa6f447b
commit
2384bc049c
4 changed files with 7 additions and 2 deletions
|
@ -51,9 +51,10 @@ NestedIterators:
|
|||
- Mutant#self.singleton_subclass_instance
|
||||
- Mutant::CLI#parse
|
||||
- Mutant::Mutator::Util::Array::Element#dispatch
|
||||
- Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats
|
||||
- Mutant::Reporter::CLI::Report::Config#generic_stats
|
||||
- Mutant::RequireHighjack#infect
|
||||
- Mutant::RequireHighjack#desinfect
|
||||
- Mutant::Reporter::CLI::Registry#included
|
||||
- Mutant::Strategy#tests
|
||||
- Parser::Lexer#self.new
|
||||
max_allowed_nesting: 1
|
||||
|
@ -89,10 +90,11 @@ TooManyStatements:
|
|||
- Mutant#self.isolate
|
||||
- Mutant::Rspec::Killer#run
|
||||
- Mutant::Reporter::CLI#colorized_diff
|
||||
- Mutant::Reporter::CLI::Printer::Config::Runner#run
|
||||
- Mutant::Reporter::CLI::Report::Config#run
|
||||
- Mutant::Runner#visit_collection
|
||||
- Mutant::Zombifier::File#self.find
|
||||
- Mutant::RequireHighjack#infect
|
||||
- Mutant::Reporter::CLI::Registry#included
|
||||
# How mutant does CLI parsing is shit
|
||||
- Mutant::CLI#parse
|
||||
- Mutant::CLI#initialize
|
||||
|
|
|
@ -2,6 +2,7 @@ module Mutant
|
|||
class Reporter
|
||||
class CLI
|
||||
class Progress
|
||||
# Noop CLI progress reporter
|
||||
class Noop < self
|
||||
|
||||
handle(Mutant::Mutation)
|
||||
|
|
|
@ -21,6 +21,7 @@ module Mutant
|
|||
|
||||
end # Subject
|
||||
|
||||
# Reporter for subject runners
|
||||
class SubjectRunner < self
|
||||
|
||||
FORMAT = '(%02d/%02d) %3d%% - %0.02fs'.freeze
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
module Mutant
|
||||
class Reporter
|
||||
class CLI
|
||||
# Mixin to generate registry semantics
|
||||
class Registry < Module
|
||||
include Concord.new(:registry)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue