<commit_before># -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

from sphinx_gallery.sorting import FileNameSortKey

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.

import os
import sys
sys.path.insert(0, os.path.abspath('../../'))
from sectionproperties import __version__ as ver
autodoc_mock_imports = ['rhino_shapely_interop', 'mpl_toolkits']

# -- Project information -----------------------------------------------------

project = 'sectionproperties'
copyright = '2021, <NAME>'
author = '<NAME>'

# The short Major.Minor.Build version
_v = ver.split('.')
_build = ''.join([c for c in _v[2] if c.isdigit()])
version = _v[0] + '.' + _v[1] + '.' + _build<commit_msg>Added print statement for locale in conf.py<commit_after># -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

from sphinx_gallery.sorting import FileNameSortKey
import locale

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.

import os
import sys
sys.path.insert(0, os.path.abspath('../../'))
from sectionproperties import __version__ as ver
autodoc_mock_imports = ['rhino_shapely_interop', 'mpl_toolkits']
print(locale.getlocale(locale.LC_NUMERIC))

# -- Project information -----------------------------------------------------

project = 'sectionproperties'
copyright = '2021, <NAME>'
author = '<NAME>'

# The short Major.Minor.Build version
_v = ver.split('.')
_build = ''.join([c for c in _v[2] if c.isdigit()])
version = _v[0] + '.' + _v[1] + '.' + _build
{'fraction_non_alphanumeric': 0.20849256900212315, 'fraction_numerical': 0.007643312101910828, 'mean_word_length': 2.733755942947702, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1026533', 'n_tokens_mistral': 684, 'n_tokens_neox': 673, 'n_words': 236}