Skip to content

Commit

Permalink
L #-: Rubocop 1.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tinova committed Apr 8, 2024
1 parent b9bfbaa commit 697061f
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 16 deletions.
3 changes: 3 additions & 0 deletions share/linters/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,9 @@ Style/ReturnNilInPredicateMethodDefinition:
Style/RedundantReturn:
Enabled: false

Style/MapIntoArray:
Enabled: false

######
# LINT
######
Expand Down
2 changes: 0 additions & 2 deletions src/flow/lib/EventManager.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -852,4 +851,3 @@ def gen_filter(object, id, state, lcm_state)
end

end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/flow/lib/LifeCycleManager.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -1465,4 +1464,3 @@ def remove_role(external_user, service, role)
end

end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/flow/lib/ServiceAutoScaler.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -109,4 +108,3 @@ def apply_scaling_policies(service, vm_pool, monitoring)
end

end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/flow/lib/ServiceWatchDog.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -270,4 +269,3 @@ def check_role_state(service_id, role_name, node, states = nil)
end

end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/flow/oneflow-server.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -853,4 +852,3 @@ def check_custom_attrs(custom_attrs, custom_attrs_values)
return internal_error(rc.message, one_error_to_http(rc.errno))
end
end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/mad/ruby/DriverExecHelper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -216,4 +215,3 @@ def read_configuration
end

end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/mad/ruby/PublicCloudDriver.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -269,4 +268,3 @@ def expired?(time_limit)
end

end
# rubocop:enable Naming/FileName
2 changes: 0 additions & 2 deletions src/market_mad/remotes/s3/S3.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable Naming/FileName
# -------------------------------------------------------------------------- #
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
# #
Expand Down Expand Up @@ -138,4 +137,3 @@ def bucket_size
end

end
# rubocop:enable Naming/FileName

0 comments on commit 697061f

Please sign in to comment.