Skip to content

Commit

Permalink
- enable Style/LeadingCommentSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Nov 6, 2018
1 parent ae92b13 commit dd04c93
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
9 changes: 0 additions & 9 deletions .rubocop.yml
Expand Up @@ -216,15 +216,6 @@ Style/Lambda:
Exclude:
- 'src/include/iscsi-client/wizards.rb'

# Offense count: 7
# Cop supports --auto-correct.
Style/LeadingCommentSpace:
Exclude:
- 'Rakefile'
- 'src/clients/inst_iscsi-client.rb'
- 'src/clients/iscsi-client.rb'
- 'src/include/iscsi-client/widgets.rb'

# Offense count: 99
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
@@ -1,6 +1,6 @@
require "yast/rake"

Yast::Tasks.configuration do |conf|
#lets ignore license check for now
# lets ignore license check for now
conf.skip_license_check << /.*/
end
4 changes: 2 additions & 2 deletions src/clients/inst_iscsi-client.rb
Expand Up @@ -34,7 +34,7 @@ class InstIscsiClientClient < Client
def main
Yast.import "UI"

#**
# **
# <h3>Configuration of iscsi-client</h3>

textdomain "iscsi-client"
Expand Down Expand Up @@ -68,7 +68,7 @@ def main
"mkdir -p /etc/iscsi; touch /etc/iscsi/initiatorname.iscsi; ln -s /etc/iscsi/initiatorname.iscsi /etc/initiatorname.iscsi"
)
# check initiator name, create if not exists
#WFM::Execute (.local.bash,"test -d /etc/iscsi/ && /bin/cp -a /etc/iscsi/* " + String::Quote(Installation::destdir) + "/etc/iscsi/");
# WFM::Execute (.local.bash,"test -d /etc/iscsi/ && /bin/cp -a /etc/iscsi/* " + String::Quote(Installation::destdir) + "/etc/iscsi/");
IscsiClientLib.checkInitiatorName

IscsiClientLib.getiBFT
Expand Down
2 changes: 1 addition & 1 deletion src/clients/iscsi-client.rb
Expand Up @@ -34,7 +34,7 @@ class IscsiClientClient < Client
def main
Yast.import "UI"

#**
# **
# <h3>Configuration of iscsi-client</h3>

textdomain "iscsi-client"
Expand Down
6 changes: 3 additions & 3 deletions src/include/iscsi-client/widgets.rb
Expand Up @@ -800,7 +800,7 @@ def handleDiscoveredTable(key, event)
nil
end

#******************* target table *************************
# ******************* target table *************************

# initialize dialog for all targets from portal (connected/disconnected)
def initTargetTable(key)
Expand Down Expand Up @@ -829,7 +829,7 @@ def initTargetTable(key)
# handle dialog for all targets from portal (connected/disconnected) - only connect button ;)
def handleTargetTable(key, event)
event = deep_copy(event)
#enable/disable connect button according target is or not already connected
# enable/disable connect button according target is or not already connected
items = Convert.convert(
UI.QueryWidget(:targets, :Items),
:from => "any",
Expand Down Expand Up @@ -887,7 +887,7 @@ def handleTargetTable(key, event)
nil
end

#***************** connection autentication *******************
# ***************** connection autentication *******************

# login to target with authentication
def validateConnAuth(key, event)
Expand Down

0 comments on commit dd04c93

Please sign in to comment.