rubocop: fix offences of the Lint/UnneededRequireStatement cop
This commit is contained in:
parent
4078fdc785
commit
bd4bfb2290
|
@ -648,13 +648,6 @@ Lint/StringConversionInInterpolation:
|
|||
Lint/UnderscorePrefixedVariableName:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Lint/UnneededRequireStatement:
|
||||
Exclude:
|
||||
- 'lib/pry/input_lock.rb'
|
||||
- 'spec/spec_helpers/repl_tester.rb'
|
||||
|
||||
# Offense count: 46
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'thread'
|
||||
|
||||
class Pry
|
||||
# There is one InputLock per input (such as STDIN) as two REPLs on the same
|
||||
# input makes things delirious. InputLock serializes accesses to the input so
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# This is for super-high-level integration testing.
|
||||
|
||||
require 'thread'
|
||||
require 'delegate'
|
||||
|
||||
class ReplTester
|
||||
|
|
Loading…
Reference in New Issue