Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasleger committed Jan 15, 2025
1 parent 4d99ab8 commit dd43f75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/services/quote_check_service.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# This class is responsible for checking the quote and returning the result.
class QuoteCheckService
class QuoteCheckService # rubocop:disable Metrics/ClassLength
attr_reader :quote_check

def initialize(
Expand Down
4 changes: 1 addition & 3 deletions lib/quote_reader/naive_text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

module QuoteReader
# Read Quote text to extract Quote attributes Naively
# rubocop:disable Metrics/ClassLength
class NaiveText < Text
class NaiveText < Text # rubocop:disable Metrics/ClassLength
VERSION = "0.0.1"

# rubocop:disable Metrics/AbcSize
Expand Down Expand Up @@ -163,5 +162,4 @@ def self.find_uris(text)
text.scan(/\b(#{URI_REGEX})\b/i).flatten.filter_map { it&.strip }.uniq
end
end
# rubocop:enable Metrics/ClassLength
end
4 changes: 1 addition & 3 deletions lib/quote_validator/global.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

module QuoteValidator
# Validator for the Quote
# rubocop:disable Metrics/ClassLength
class Global < Base
class Global < Base # rubocop:disable Metrics/ClassLength
VERSION = "0.0.1"

def validate!
Expand Down Expand Up @@ -229,5 +228,4 @@ def version
self.class::VERSION
end
end
# rubocop:enable Metrics/ClassLength
end

0 comments on commit dd43f75

Please sign in to comment.