<commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from {{ PROJECT_NAME }} import create_app

app = create_app()

if __name__ == "__main__":

    app.run(host=app.config['HOST'], port=app.config['PORT'])
<commit_msg>run.py is now started from a func.<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-

from {{ PROJECT_NAME }}.app import create_app


def run(app=None):
    app.run(host=app.config['HOST'],
            port=app.config['PORT'],
            debug=app.config['DEBUG'])


if __name__ == '__main__':
    app = create_app()
    run(app)

{'fraction_non_alphanumeric': 0.18996415770609318, 'fraction_numerical': 0.0035842293906810036, 'mean_word_length': 3.4015748031496065, 'pattern_counts': {'":': 1, '<': 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': '5595675', 'n_tokens_mistral': 201, 'n_tokens_neox': 196, 'n_words': 39}