mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
15 lines
528 B
Python
15 lines
528 B
Python
from bauh.commons.config import read_config as read
|
|
from bauh.gems.arch import CONFIG_FILE
|
|
|
|
|
|
def read_config(update_file: bool = False) -> dict:
|
|
template = {'optimize': True,
|
|
"sync_databases": True,
|
|
"clean_cached": True,
|
|
'arch': True,
|
|
'repositories': True,
|
|
"refresh_mirrors_startup": False,
|
|
"sync_databases_startup": True,
|
|
'mirrors_sort_limit': 5}
|
|
return read(CONFIG_FILE, template, update_file=update_file)
|