gui.settings.Settings

gui.settings.Settings(
    recent=tuple(),
    font_scale=1.0,
    editor='',
    auto_check=True,
)

What the interface remembers between sessions.

Attributes

Name Type Description
recent tuple[str, …] The most recently opened repositories, newest first (at most 10).
font_scale float Factor on the base font size of 13 pt.
editor str The editor template, see spotregen.gui.editor. Empty means the default.
auto_check bool Run check in the background when a repository is opened.

Examples

from spotregen.gui.settings import Settings

print(Settings())
Settings(recent=(), font_scale=1.0, editor='', auto_check=True)