<commit_before>from typing import Any
from tomodachi.protocol.json_base import JsonBase
try:
    from tomodachi.protocol.protobuf_base import ProtobufBase
except ModuleNotFoundError:
    class ProtobufBase(object):
        @classmethod
        def validate(cls, **kwargs: Any) -> None:
            raise Exception('google.protobuf package not installed')

__all__ = ['JsonBase', 'ProtobufBase']<commit_msg>Corrects typehinting<commit_after>from typing import Any
from tomodachi.protocol.json_base import JsonBase
try:
    from tomodachi.protocol.protobuf_base import ProtobufBase  # type: ignore
except Exception:
    class ProtobufBase(object):  # type: ignore
        @classmethod
        def validate(cls, **kwargs: Any) -> None:
            raise Exception('google.protobuf package not installed')

__all__ = ['JsonBase', 'ProtobufBase']
{'fraction_non_alphanumeric': 0.08799048751486326, 'fraction_numerical': 0.0, 'mean_word_length': 4.2625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3286022', 'n_tokens_mistral': 232, 'n_tokens_neox': 226, 'n_words': 66}