<commit_before>from enum import Enum
from io import BytesIO
from itertools import zip_longest
from types import SimpleNamespace

import pygments.style
from PIL.ImageColor import getrgb
from pygments import highlight
from pygments.formatters import find_formatter_class
from pygments.lexers.python import PythonLexer
from pygments.styles import get_style_by_name
from telegram.callbackquery import CallbackQuery
from telegram.ext.callbackqueryhandler import CallbackQueryHandler
from telegram.ext.commandhandler import CommandHandler
from telegram.ext.conversationhandler import ConversationHandler
from telegram.ext.filters import Filters
from telegram.ext.messagehandler import MessageHandler
from telegram.inline.inlinekeyboardbutton import InlineKeyboardButton as Button
from telegram.inline.inlinekeyboardmarkup import InlineKeyboardMarkup
from telegram.message import Message
from telegram.parsemode import ParseMode
from telegram.update import Update

from config import CODE_FONT
from config.config_default import AVAILABLE_FONTS, AVAILABLE_SCHEMES
from methods import start


def grouper(n, iterable, fillvalue=None):
    args = [iter(iterable)] * n
    return zip_longest(fillvalue=fillvalue, *args)


class Style(SimpleNamespace):
    format = 'png'
    font = CODE_FONT
    color_scheme = 'default'
<commit_msg>style: fix config import<commit_after>from enum import Enum
from io import BytesIO
from itertools import zip_longest
from types import SimpleNamespace

import pygments.style
from PIL.ImageColor import getrgb
from pygments import highlight
from pygments.formatters import find_formatter_class
from pygments.lexers.python import PythonLexer
from pygments.styles import get_style_by_name
from telegram.callbackquery import CallbackQuery
from telegram.ext.callbackqueryhandler import CallbackQueryHandler
from telegram.ext.commandhandler import CommandHandler
from telegram.ext.conversationhandler import ConversationHandler
from telegram.ext.filters import Filters
from telegram.ext.messagehandler import MessageHandler
from telegram.inline.inlinekeyboardbutton import InlineKeyboardButton as Button
from telegram.inline.inlinekeyboardmarkup import InlineKeyboardMarkup
from telegram.message import Message
from telegram.parsemode import ParseMode
from telegram.update import Update

from config import CODE_FONT
from config import AVAILABLE_FONTS, AVAILABLE_SCHEMES
from methods import start


def grouper(n, iterable, fillvalue=None):
    args = [iter(iterable)] * n
    return zip_longest(fillvalue=fillvalue, *args)


class Style(SimpleNamespace):
    format = 'png'
    font = CODE_FONT
    color_scheme = 'default'

{'fraction_non_alphanumeric': 0.04242424242424243, 'fraction_numerical': 0.0, 'mean_word_length': 6.655072463768116, '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': '4963163', 'n_tokens_mistral': 725, 'n_tokens_neox': 706, 'n_words': 233}