<commit_before>#!/usr/bin/env ruby

require 'cgi'
require 'dotenv'
require 'json'
require 'mail'
require 'net/smtp'
require 'open-uri'

API_URL = 'https://maps.googleapis.com/maps/api/distancematrix/json'

Dotenv.load

Mail.defaults do
  delivery_method :smtp,
    address:   ENV['SMTP_HOST'],
    port:      ENV['SMTP_PORT'],
    user_name: ENV['SMTP_USER'],
    password:  ENV['SMTP_<PASSWORD>']
end

def send_email(subject:, body: '')
  Mail.deliver do
    to      ENV['RECIPIENT']
    from    ENV['RECIPIENT']
    subject subject
    body    body
  end
end<commit_msg>Remove unnecessary require for Net::SMTP<commit_after>#!/usr/bin/env ruby

require 'cgi'
require 'dotenv'
require 'json'
require 'mail'
require 'open-uri'

API_URL = 'https://maps.googleapis.com/maps/api/distancematrix/json'

Dotenv.load

Mail.defaults do
  delivery_method :smtp,
    address:   ENV['SMTP_HOST'],
    port:      ENV['SMTP_PORT'],
    user_name: ENV['SMTP_USER'],
    password:  ENV['<PASSWORD>']
end

def send_email(subject:, body: '')
  Mail.deliver do
    to      ENV['RECIPIENT']
    from    ENV['RECIPIENT']
    subject subject
    body    body
  end
end
{'fraction_non_alphanumeric': 0.13687881429816914, 'fraction_numerical': 0.0, 'mean_word_length': 3.592, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4350767', 'n_tokens_mistral': 432, 'n_tokens_neox': 412, 'n_words': 91}