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
1
from
pathlib
import
Path
2
from
typing
import
Union, SupportsInt
3
from
rich.console
import
Console
4
from
rich.theme
import
Theme
5
6
class
_ConfigSingleton
:
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
23
config =
_ConfigSingleton
()
Cope.experimental._config._ConfigSingleton
Definition:
_config.py:6
Cope
experimental
_config.py
Generated by
1.9.6