rubocop: fix offences of the Lint/UnneededRequireStatement cop

This commit is contained in:
Kyrylo Silin 2018-10-16 04:43:41 +08:00
parent 4078fdc785
commit bd4bfb2290
3 changed files with 0 additions and 10 deletions

View File

@ -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.

View File

@ -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

View File

@ -1,6 +1,5 @@
# This is for super-high-level integration testing.
require 'thread'
require 'delegate'
class ReplTester