<commit_before>#!/usr/bin/env python3
# This file is part of the GOsa framework.
#
#  http://gosa-project.org
#
# Copyright:
#  (C) 2016 GONICUS GmbH, Germany, http://www.gonicus.de
#
# See the LICENSE file in the project's top-level directory for details.
import sys
from setuptools import setup, find_packages
import os

from gosa.common import Environment

try:
    from babel.messages import frontend as babel
except:
    pass

if sys.argv[1] == "test":
    Environment.config = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "configs", "test_conf")
    Environment.noargs = True
    env = Environment.getInstance()
<commit_msg>move import<commit_after>#!/usr/bin/env python3
# This file is part of the GOsa framework.
#
#  http://gosa-project.org
#
# Copyright:
#  (C) 2016 GONICUS GmbH, Germany, http://www.gonicus.de
#
# See the LICENSE file in the project's top-level directory for details.
import sys
from setuptools import setup, find_packages
import os

try:
    from babel.messages import frontend as babel
except:
    pass

if sys.argv[1] == "test":
    from gosa.common import Environment
    Environment.config = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "configs", "test_conf")
    Environment.noargs = True
    env = Environment.getInstance()

{'fraction_non_alphanumeric': 0.1216320246343341, 'fraction_numerical': 0.009237875288683603, 'mean_word_length': 3.9808429118773945, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3341855', 'n_tokens_mistral': 438, 'n_tokens_neox': 419, 'n_words': 125}