<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Load OCD BallotMeasureContest and related models with data scraped from the CAL-ACCESS website.
"""
from calaccess_processed.models import ScrapedPropositionElectionProxy, ScrapedPropositionProxy
from opencivicdata.elections.models import BallotMeasureContest
from calaccess_processed.management.commands import CalAccessCommand
from calaccess_processed.models import OCDElectionProxy, OCDDivisionProxy


class Command(CalAccessCommand):
    """
    Load OCD BallotMeasureContest and related models with data scraped from the CAL-ACCESS website.
    """
    help = 'Load OCD BallotMeasureContest and related models with data scraped from the CAL-ACCESS website'
    header_log = 'Loading Ballot Measure Contests'

    def handle(self, *args, **options):
        """
        Make it happen.
        """
        super(Command, self).handle(*args, **options)<commit_msg>flake8<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Load OCD BallotMeasureContest and related models with data scraped from the CAL-ACCESS website.
"""
from opencivicdata.elections.models import BallotMeasureContest
from calaccess_processed.management.commands import CalAccessCommand
from calaccess_processed.models import ScrapedPropositionProxy, OCDDivisionProxy


class Command(CalAccessCommand):
    """
    Load OCD BallotMeasureContest and related models with data scraped from the CAL-ACCESS website.
    """
    help = 'Load OCD BallotMeasureContest and related models with data scraped from the CAL-ACCESS website'
    header_log = 'Loading Ballot Measure Contests'

    def handle(self, *args, **options):
        """
        Make it happen.
        """
        super(Command, self).handle(*args, **options)
{'fraction_non_alphanumeric': 0.08484162895927602, 'fraction_numerical': 0.0016968325791855204, 'mean_word_length': 4.312312312312312, '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': '4046040', 'n_tokens_mistral': 495, 'n_tokens_neox': 462, 'n_words': 152}