mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rubocop: fix offences of the Layout/EmptyLineAfterMagicComment cop
This commit is contained in:
parent
dbe74ea86a
commit
77faa485b4
3 changed files with 2 additions and 7 deletions
|
@ -13,13 +13,6 @@ Gemspec/RequiredRubyVersion:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'pry.gemspec'
|
- 'pry.gemspec'
|
||||||
|
|
||||||
# Offense count: 2
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
Layout/EmptyLineAfterMagicComment:
|
|
||||||
Exclude:
|
|
||||||
- 'lib/pry/pry_instance.rb'
|
|
||||||
- 'lib/pry/terminal.rb'
|
|
||||||
|
|
||||||
# Offense count: 10
|
# Offense count: 10
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Layout/EmptyLinesAroundAccessModifier:
|
Layout/EmptyLinesAroundAccessModifier:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
##
|
##
|
||||||
# Pry is a powerful alternative to the standard IRB shell for Ruby. It
|
# Pry is a powerful alternative to the standard IRB shell for Ruby. It
|
||||||
# features syntax highlighting, a flexible plugin architecture, runtime
|
# features syntax highlighting, a flexible plugin architecture, runtime
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
class Pry::Terminal
|
class Pry::Terminal
|
||||||
class << self
|
class << self
|
||||||
# Return a pair of [rows, columns] which gives the size of the window.
|
# Return a pair of [rows, columns] which gives the size of the window.
|
||||||
|
|
Loading…
Add table
Reference in a new issue