1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

rubocop: fix offences of the Style/ExpandPathArguments cop

This commit is contained in:
Kyrylo Silin 2019-03-02 01:51:37 +02:00
parent a892d00506
commit 501e949921
2 changed files with 6 additions and 7 deletions

View file

@ -27,3 +27,9 @@ Layout/MultilineMethodCallIndentation:
Style/ClassAndModuleChildren:
Exclude:
- 'spec/fixtures/example_nesting.rb'
# TODO: delete exclusions when we drop Ruby 1.9.3 support.
Style/ExpandPathArguments:
Exclude:
- 'lib/pry/commands.rb'
- 'pry.gemspec'

View file

@ -239,13 +239,6 @@ Style/EvalWithLocation:
- 'spec/commands/watch_expression_spec.rb'
- 'spec/method_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'lib/pry/commands.rb'
- 'pry.gemspec'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.