<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Command line interface"""

from __future__ import print_function

import click
import s3keyring.s3


def setup_keyring(profile_name):
    kr = s3keyring.s3.S3Keyring(profile_name=profile_name)
    kr.configure(ask=False)
    return kr


@click.group(name='s3keyring')
@click.option('--profile', default='default')
@click.pass_context
def main(ctx, profile):
    """S3 backend for Python's keyring module
    """
    ctx.obj = {'profile': profile}


@main.command()
@click.option('--ask/--no-ask', default=True)
@click.pass_context
def configure(ctx, ask):<commit_msg>BUG: broken CLI for configure<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Command line interface"""

from __future__ import print_function

import click
import s3keyring.s3


def setup_keyring(profile_name):
    return s3keyring.s3.S3Keyring(profile_name=profile_name)


@click.group(name='s3keyring')
@click.option('--profile', default='default')
@click.pass_context
def main(ctx, profile):
    """S3 backend for Python's keyring module
    """
    ctx.obj = {'profile': profile}


@main.command()
@click.option('--ask/--no-ask', default=True)
@click.pass_context
def configure(ctx, ask):
{'fraction_non_alphanumeric': 0.1583198707592892, 'fraction_numerical': 0.012924071082390954, 'mean_word_length': 4.9, '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': '5476284', 'n_tokens_mistral': 428, 'n_tokens_neox': 416, 'n_words': 90}