<commit_before>import os

import click

from populus import utils
from populus.utils.filesystem import (
    get_contracts_dir, ensure_path_exists
)

from .main import main


@main.command()
def init():
    """
    Generate project layout with an example contract.
    """
    project_dir = os.getcwd()

    contracts_dir = get_contracts_dir(project_dir)
    if ensure_path_exists(contracts_dir):
        click.echo("Created Directory: ./{0}".format(os.path.relpath(contracts_dir)))

    example_contract_path = os.path.join(contracts_dir, 'Example.sol')<commit_msg>remove unused import<commit_after>import os

import click

from populus.utils.filesystem import (
    get_contracts_dir, ensure_path_exists
)

from .main import main


@main.command()
def init():
    """
    Generate project layout with an example contract.
    """
    project_dir = os.getcwd()

    contracts_dir = get_contracts_dir(project_dir)
    if ensure_path_exists(contracts_dir):
        click.echo("Created Directory: ./{0}".format(os.path.relpath(contracts_dir)))

    example_contract_path = os.path.join(contracts_dir, 'Example.sol')
{'fraction_non_alphanumeric': 0.10601976639712489, 'fraction_numerical': 0.0017969451931716084, 'mean_word_length': 4.230046948356808, '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': '2324008', 'n_tokens_mistral': 359, 'n_tokens_neox': 353, 'n_words': 75}