<commit_before># -*- coding: utf-8 -*-

import os
import sphinx_rtd_theme
import sys


REPO_DIR = os.path.dirname(os.path.dirname(__file__))
sys.path.append(REPO_DIR)


project = 'Ichnaea'
copyright = '2013-2019, Mozilla'

# The short X.Y version.
version = '2.0'
# The full version, including alpha/beta/rc tags.
release = '2.0'

autoclass_content = 'class'
exclude_patterns = ['build/html/README.rst', '.DS_Store', 'Thumbs.db']
html_static_path = []
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
master_doc = 'index'
modindex_common_prefix = ['ichnaea.']
pygments_style = 'sphinx'
source_suffix = '.rst'
templates_path = ['_templates']<commit_msg>Add mock for shapely module<commit_after># -*- coding: utf-8 -*-

import os
import sphinx_rtd_theme
import sys
from unittest import mock


# Add repository root so we can import ichnaea things
REPO_DIR = os.path.dirname(os.path.dirname(__file__))
sys.path.append(REPO_DIR)


# Fake the shapely module so things will import
sys.modules['shapely'] = mock.MagicMock()


project = 'Ichnaea'
copyright = '2013-2019, Mozilla'

# The short X.Y version.
version = '2.0'
# The full version, including alpha/beta/rc tags.
release = '2.0'

autoclass_content = 'class'
exclude_patterns = ['build/html/README.rst', '.DS_Store', 'Thumbs.db']
html_static_path = []
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
master_doc = 'index'
modindex_common_prefix = ['ichnaea.']
pygments_style = 'sphinx'
source_suffix = '.rst'
templates_path = ['_templates']
{'fraction_non_alphanumeric': 0.13532401524777637, 'fraction_numerical': 0.016518424396442185, 'mean_word_length': 5.428571428571429, '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': '5722795', 'n_tokens_mistral': 611, 'n_tokens_neox': 578, 'n_words': 130}