Skip to content

Commit

Permalink
Add :nocov: comments to RMT module and RMT::Config module
Browse files Browse the repository at this point in the history
  • Loading branch information
ngetahun committed Oct 30, 2024
1 parent 94b219f commit 0dc9e06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/rmt.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# :nocov:
module RMT
VERSION ||= '2.19'.freeze

Expand All @@ -7,3 +8,4 @@ module RMT
DEFAULT_MIRROR_URL_PREFIX = '/repo/'.freeze
CREDENTIALS_FILE_LOCATION = '/etc/zypp/credentials.d/SCCcredentials'.freeze
end
# :nocov:
3 changes: 2 additions & 1 deletion lib/rmt/config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# :nocov:
require 'config'
require_relative '../rmt'

Expand All @@ -11,7 +12,6 @@
File.join(__dir__, '../../config/rmt.local.yml')
)


module RMT::Config
class << self
def db_config(key = 'database')
Expand Down Expand Up @@ -77,3 +77,4 @@ def validate_int(value)
end
end
end
# :nocov:

0 comments on commit 0dc9e06

Please sign in to comment.