<commit_before>import prefs

class SnakedConf(prefs.PySettings):
    DISABLE_LEFT_CLICK = False
    DISABLE_LEFT_CLICK_DOC = 'Disable left mouse button handling in editor view'

    RESTORE_POSITION = True
    RESTORE_POSITION_DOC = 'Restore snaked window position'

    LAST_POSITION = None
    LAST_POSITION_DOC = 'Tuple of ((x,y), (w,h)) last window position'

    FULLSCREEN = False
    FULLSCREEN_DOC = 'State of fullscreen mode'

    SHOW_TABS = True
    SHOW_TABS_DOC = 'State of tabs visibility'

    TAB_BAR_PLACEMENT = 'top'
    TAB_BAR_PLACEMENT_DOC = 'Tab bar placement position. One of "top", "bottom", "left", "right"'

    OPENED_FILES = []
    OPENED_FILES_DOC = 'Last opened files'

    ACTIVE_FILE = ''
    ACTIVE_FILE_DOC = 'Last active file'

    MODIFIED_FILES = None
    MODIFIED_FILES_DOC = 'Backup content for modified files'

    PANEL_HEIGHT = 200
    PANEL_HEIGHT_DOC = "Console, test and other panels height"

    CONSOLE_FONT = "Monospaced 8"
    CONSOLE_FONT_DOC = "Font used for console display"

    MIMIC_PANEL_COLORS_TO_EDITOR_THEME = True
    MIMIC_PANEL_COLORS_TO_EDITOR_THEME_DOC = "Try to apply editor color theme to various panels"


def add_option(name, default, doc=None):
    setattr(SnakedConf, name, default)
    if doc:
        setattr(SnakedConf, name+'_doc', doc)
<commit_msg>fix typo in default console font name<commit_after>import prefs

class SnakedConf(prefs.PySettings):
    DISABLE_LEFT_CLICK = False
    DISABLE_LEFT_CLICK_DOC = 'Disable left mouse button handling in editor view'

    RESTORE_POSITION = True
    RESTORE_POSITION_DOC = 'Restore snaked window position'

    LAST_POSITION = None
    LAST_POSITION_DOC = 'Tuple of ((x,y), (w,h)) last window position'

    FULLSCREEN = False
    FULLSCREEN_DOC = 'State of fullscreen mode'

    SHOW_TABS = True
    SHOW_TABS_DOC = 'State of tabs visibility'

    TAB_BAR_PLACEMENT = 'top'
    TAB_BAR_PLACEMENT_DOC = 'Tab bar placement position. One of "top", "bottom", "left", "right"'

    OPENED_FILES = []
    OPENED_FILES_DOC = 'Last opened files'

    ACTIVE_FILE = ''
    ACTIVE_FILE_DOC = 'Last active file'

    MODIFIED_FILES = None
    MODIFIED_FILES_DOC = 'Backup content for modified files'

    PANEL_HEIGHT = 200
    PANEL_HEIGHT_DOC = "Console, test and other panels height"

    CONSOLE_FONT = "Monospace 8"
    CONSOLE_FONT_DOC = "Font used for console display"

    MIMIC_PANEL_COLORS_TO_EDITOR_THEME = True
    MIMIC_PANEL_COLORS_TO_EDITOR_THEME_DOC = "Try to apply editor color theme to various panels"


def add_option(name, default, doc=None):
    setattr(SnakedConf, name, default)
    if doc:
        setattr(SnakedConf, name+'_doc', doc)

{'fraction_non_alphanumeric': 0.07718246534282502, 'fraction_numerical': 0.0029973772948669914, 'mean_word_length': 3.8282097649186255, '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': '1033091', 'n_tokens_mistral': 1002, 'n_tokens_neox': 906, 'n_words': 244}