File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ class Config:
173173 def __init__ (self ) -> None :
174174 from rich .console import Console
175175
176- self .console = Console (soft_wrap = True )
176+ self ._console = Console (soft_wrap = True )
177177
178178 def show (
179179 self ,
@@ -203,8 +203,8 @@ def show(
203203 if filter
204204 else ""
205205 )
206- self .console .print (f"# Current configuration{ exclude_msg } :" )
207- self .console .print (
206+ self ._console .print (f"# Current configuration{ exclude_msg } :" )
207+ self ._console .print (
208208 Syntax (
209209 yaml .safe_dump (cfg ),
210210 "yaml" ,
@@ -264,7 +264,7 @@ def description(file: Path) -> str:
264264 f"- `{ f .relative_to (config_dir )} `: { description (f )} "
265265 for f in files
266266 ]
267- self .console .print (Markdown ("\n " .join (msg )))
267+ self ._console .print (Markdown ("\n " .join (msg )))
268268
269269 def copy (
270270 self ,
You can’t perform that action at this time.
0 commit comments