Skip to content

Commit

Permalink
- enable Style/EmptyLineBetweenDefs
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Nov 6, 2018
1 parent daf29b0 commit 301e003
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .rubocop.yml
Expand Up @@ -93,14 +93,6 @@ Style/Documentation:
- 'src/modules/IscsiClient.rb'
- 'src/modules/IscsiClientLib.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowAdjacentOneLineDefs.
Style/EmptyLineBetweenDefs:
Exclude:
- 'src/include/iscsi-client/widgets.rb'
- 'src/modules/IscsiClientLib.rb'

# Offense count: 7
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
Style/FileName:
Expand Down
1 change: 1 addition & 0 deletions src/include/iscsi-client/widgets.rb
Expand Up @@ -516,6 +516,7 @@ def initConnAuth(_key)

nil
end

# handle for enable/disable widgets in authentication dialog
def handleDiscAuth(_key, event)
event = deep_copy(event)
Expand Down
1 change: 1 addition & 0 deletions src/modules/IscsiClientLib.rb
Expand Up @@ -1637,6 +1637,7 @@ def GetDiscIfaces
Builtins.y2milestone("GetDiscIfaces:%1", ret)
deep_copy(ret)
end

def CallConfigScript
sl = Builtins.filter(GetDiscIfaces()) { |s| s != "default" }
Builtins.y2milestone("CallConfigScript list:%1", sl)
Expand Down

0 comments on commit 301e003

Please sign in to comment.