<commit_before>


from paste.script.templates import Template, var
from paste.util.template import paste_script_template_renderer


class FalconTemplate(Template):

    _template_dir = 'falcon'
    summary = "A basic daixm microserivce falcon package"
    vars = [
        var('version', 'Version (like 0.1)'),
        var('description', 'One-line description of the package'),
        var('long_description', 'Multi-line description (in reST)'),
        var('keywords', 'Space-separated keywords/tags'),
        var('author', '<NAME>'),
        var('author_email', 'Author email'),
        var('url', 'URL of homepage'),
        ]

    template_renderer = staticmethod(paste_script_template_renderer)

<commit_msg>gitignore<commit_after>


import os
from paste.script.templates import Template, var
from paste.util.template import paste_script_template_renderer


class FalconTemplate(Template):

    _template_dir = 'falcon'
    summary = "A basic daixm microserivce falcon package"
    vars = [
        var('version', 'Version (like 0.1)'),
        var('description', 'One-line description of the package'),
        var('long_description', 'Multi-line description (in reST)'),
        var('keywords', 'Space-separated keywords/tags'),
        var('author', '<NAME>'),
        var('author_email', 'Author email'),
        var('url', 'URL of homepage'),
        ]

    template_renderer = staticmethod(paste_script_template_renderer)

    def post(self, command, output_dir, vars):
        os.rename('%s/gitignore' % output_dir, '%s/.gitignore' % output_dir)
{'fraction_non_alphanumeric': 0.12892880051314945, 'fraction_numerical': 0.0025657472738935213, 'mean_word_length': 3.656716417910448, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5363250', 'n_tokens_mistral': 459, 'n_tokens_neox': 442, 'n_words': 113}