<commit_before>from datetime import datetime

from django.conf import settings
from django.core.mail import mail_admins

import cronjobs
import requests

from kitsune.sumo.tasks import measure_queue_lag


@cronjobs.register
def enqueue_lag_monitor_task():
    """Fires a task that measures the queue lag."""
    measure_queue_lag.delay(datetime.now())
<commit_msg>PEP8 fixes.<commit_after>from datetime import datetime

import cronjobs

from kitsune.sumo.tasks import measure_queue_lag


@cronjobs.register
def enqueue_lag_monitor_task():
    """Fires a task that measures the queue lag."""
    measure_queue_lag.delay(datetime.now())

{'fraction_non_alphanumeric': 0.07874015748031496, 'fraction_numerical': 0.0015748031496062992, 'mean_word_length': 5.556701030927835, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3177325', 'n_tokens_mistral': 199, 'n_tokens_neox': 186, 'n_words': 55}