<commit_before># -*- coding: utf-8 -*-
# flake8: noqa E501
import os
import sys
import typing as t
from pathlib import Path

# Get the project root dir, which is the parent dir of this
cwd = Path.cwd()
project_root = cwd.parent

sys.path.insert(0, str(project_root))
sys.path.insert(0, str(cwd / "_ext"))


# package data
about = {}
with open("../django_docutils/__about__.py") as fp:
    exec(fp.read(), about)

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.intersphinx",
    "sphinx.ext.napoleon",
    "sphinx_autodoc_typehints",
    "sphinx_issues",
    "sphinx_click.ext",  # sphinx-click
    "sphinx_inline_tabs",
    "sphinx_copybutton",
    "sphinxext.opengraph",
    "sphinxext.rediraffe",
    "myst_parser",
]
myst_enable_extensions = ["colon_fence", "substitution", "replacements"]<commit_msg>docs(conf): Type annotation<commit_after># -*- coding: utf-8 -*-
# flake8: noqa E501
import os
import sys
import typing as t
from pathlib import Path

# Get the project root dir, which is the parent dir of this
cwd = Path.cwd()
project_root = cwd.parent

sys.path.insert(0, str(project_root))
sys.path.insert(0, str(cwd / "_ext"))

# package data
about: t.Dict[str, str] = {}
with open("../django_docutils/__about__.py") as fp:
    exec(fp.read(), about)

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.intersphinx",
    "sphinx.ext.napoleon",
    "sphinx_autodoc_typehints",
    "sphinx_issues",
    "sphinx_click.ext",  # sphinx-click
    "sphinx_inline_tabs",
    "sphinx_copybutton",
    "sphinxext.opengraph",
    "sphinxext.rediraffe",
    "myst_parser",
]
myst_enable_extensions = ["colon_fence", "substitution", "replacements"]
{'fraction_non_alphanumeric': 0.1458710066305003, 'fraction_numerical': 0.008438818565400843, 'mean_word_length': 4.07645259938838, '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': '3542928', 'n_tokens_mistral': 645, 'n_tokens_neox': 634, 'n_words': 133}