<commit_before># -*- coding: utf-8 -*-
from flask.ext.assets import Environment, Bundle
from flask.ext.collect import Collect


def init(app):
    """
    Bundle projects assets

    :type app: flask.Flask
    """
    assets = Environment(app)

    if 'COLLECT_STATIC_ROOT' in app.config:
        collect = Collect()
        collect.init_app(app)<commit_msg>Way to disable autobuild of assets<commit_after># -*- coding: utf-8 -*-
from flask.ext.assets import Environment, Bundle
from flask.ext.collect import Collect


def init(app):
    """
    Bundle projects assets

    :type app: flask.Flask
    """
    assets = Environment(app)
    assets.auto_build = app.config.get('ASSETS_AUTO_BUILD', True)

    if 'COLLECT_STATIC_ROOT' in app.config:
        collect = Collect()
        collect.init_app(app)
{'fraction_non_alphanumeric': 0.11581569115815692, 'fraction_numerical': 0.0024906600249066002, 'mean_word_length': 3.081218274111675, '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': '7101129', 'n_tokens_mistral': 259, 'n_tokens_neox': 238, 'n_words': 65}