Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
Loading...
Searching...
No Matches
_config.py
1from pathlib import Path
2from typing import Union, SupportsInt
3from rich.console import Console
4from rich.theme import Theme
5
7 # Override the debug parameters and display the file/function for each debug call
8 # (useful for finding debug calls you left laying around and forgot about)
9 display_file = True
10 display_func = True
11 display_path = False
12 root_dir = None
13
14 _debug_count = 0
15 verbosity = 0
16
17 hide_todo = False
18
19 theme = Theme.read(Path(__file__).parent/'style.cfg')
20 console = Console(theme=theme)
21
22
23config = _ConfigSingleton()