<commit_before># -*- coding: utf-8 -*-
#
# CommCareHQ documentation build configuration file, created by
# sphinx-quickstart on Wed Sep  3 09:42:11 2014.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

from __future__ import absolute_import
import sys, os
from mock import MagicMock
import sphinx_rtd_theme

sys.path.insert(0, os.path.abspath('..'))
from ..manage import init_hq_python_path

init_hq_python_path()
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

# -- Custom configuration -----------------------------------------------------

class Mock(MagicMock):
    @classmethod
    def __getattr__(cls, name):
        return Mock()

# mock out stubborn modules that are hard to pip install
# https://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
MOCK_MODULES = ["PIL.Image", "PIL"]
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)


# -- General configuration -----------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'<commit_msg>Fix docs build [ci skip]<commit_after># -*- coding: utf-8 -*-
#
# CommCareHQ documentation build configuration file, created by
# sphinx-quickstart on Wed Sep  3 09:42:11 2014.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

from __future__ import absolute_import
import sys, os
from mock import MagicMock
import sphinx_rtd_theme

sys.path.insert(0, os.path.abspath('..'))
from ..manage import init_hq_python_path

init_hq_python_path()
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

# -- Custom configuration -----------------------------------------------------

# mock out stubborn modules that are hard to pip install
# https://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
MOCK_MODULES = ["PIL.Image", "PIL"]
sys.modules.update((mod_name, MagicMock()) for mod_name in MOCK_MODULES)


# -- General configuration -----------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
{'fraction_non_alphanumeric': 0.17428023032629558, 'fraction_numerical': 0.011516314779270634, 'mean_word_length': 3.09748427672956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1487907', 'n_tokens_mistral': 782, 'n_tokens_neox': 749, 'n_words': 247}