<commit_before>from pprint import pformat
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from vcs import BACKENDS

AVAILABLE_BACKENDS = getattr(settings, 'VCS_AVAILABLE_BACKENDS',
    BACKENDS.keys())
if not set(AVAILABLE_BACKENDS).issubset(set(BACKENDS.keys())):
    raise ImproperlyConfigured("Unsupported backends specified at "
        "VCS_AVAILABLE_BACKENDS setting.\nAvailable aliases:\n%s"
        % pformat(BACKENDS.keys()))

PUSH_SSL = getattr(settings, 'DEBUG', False) and 'false' or 'true'<commit_msg>Now hg push defaults to false and uses project's setting VCS_HG_PUSH_SSL<commit_after>from pprint import pformat
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from vcs import BACKENDS

AVAILABLE_BACKENDS = getattr(settings, 'VCS_AVAILABLE_BACKENDS',
    BACKENDS.keys())
if not set(AVAILABLE_BACKENDS).issubset(set(BACKENDS.keys())):
    raise ImproperlyConfigured("Unsupported backends specified at "
        "VCS_AVAILABLE_BACKENDS setting.\nAvailable aliases:\n%s"
        % pformat(BACKENDS.keys()))

PUSH_SSL = getattr(settings, 'VCS_HG_PUSH_SSL', False) and 'true' or 'false'
{'fraction_non_alphanumeric': 0.09414758269720101, 'fraction_numerical': 0.0, 'mean_word_length': 5.982248520710059, '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': '4913289', 'n_tokens_mistral': 398, 'n_tokens_neox': 392, 'n_words': 89}