<commit_before>""" Click commands for the agent daemon """
import click

from dockci.consumer import Consumer
from dockci.server import cli, CONFIG, pika_conn_params


@cli.command()
@click.option('--dockci-url', required=True)
@click.option('--dockci-apikey', required=True)
@click.pass_context
def run(ctx, dockci_url, dockci_apikey):
    """ Run the agent daemon """
    CONFIG.dockci_url = dockci_url
    CONFIG.api_key = dockci_apikey
    consumer = Consumer(
        pika_conn_params(),
        CONFIG.logger.getChild('consumer'),
    )
    consumer.run()
<commit_msg>Pylint for daemon commands<commit_after>""" Click commands for the agent daemon """
import click

from dockci.consumer import Consumer
from dockci.server import cli, CONFIG, pika_conn_params


@cli.command()
@click.option('--dockci-url', required=True)
@click.option('--dockci-apikey', required=True)
@click.pass_context
def run(_, dockci_url, dockci_apikey):
    """ Run the agent daemon """
    CONFIG.dockci_url = dockci_url
    CONFIG.api_key = dockci_apikey
    consumer = Consumer(
        pika_conn_params(),
        CONFIG.logger.getChild('consumer'),
    )
    consumer.run()

{'fraction_non_alphanumeric': 0.12424503882657463, 'fraction_numerical': 0.0, 'mean_word_length': 4.225225225225225, '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': '3482985', 'n_tokens_mistral': 386, 'n_tokens_neox': 369, 'n_words': 87}