@@ -64,22 +64,24 @@ def print_jars(environment: Environment) -> None:
6464 """
6565 cp_jars = environment .class_path_jars
6666 mp_jars = environment .module_path_jars
67-
67+
6868 if not cp_jars and not mp_jars :
6969 _err_console .print ("[red]No JARs in environment[/]" )
7070 return
71-
71+
7272 # Print classpath JARs
7373 if cp_jars :
7474 _console .print ("[bold cyan]Classpath:[/]" )
7575 for jar_path in cp_jars :
7676 print (jar_path )
7777 if not mp_jars :
78- _console .print ("\n [dim]TIP: Use 'jgo info modulepath' to see module-path JARs only[/]" )
78+ _console .print (
79+ "\n [dim]TIP: Use 'jgo info modulepath' to see module-path JARs only[/]"
80+ )
7981 else :
8082 _console .print ("[yellow]No classpath JARs[/]" )
8183 _console .print ("[dim]TIP: Use 'jgo info modulepath' to see module-path JARs[/]" )
82-
84+
8385 # Print module-path JARs
8486 if mp_jars :
8587 if cp_jars :
@@ -102,7 +104,9 @@ def print_modulepath(environment: Environment) -> None:
102104 module_jars = environment .module_path_jars
103105 if not module_jars :
104106 _err_console .print ("[red]No JARs on module-path[/]" )
105- _err_console .print ("[dim]TIP: Use 'jgo info classpath' to see classpath JARs[/]" )
107+ _err_console .print (
108+ "[dim]TIP: Use 'jgo info classpath' to see classpath JARs[/]"
109+ )
106110 return
107111
108112 # Print one module-path element per line (raw output, no Rich formatting)
@@ -136,7 +140,9 @@ def print_main_classes(environment: Environment) -> None:
136140 return
137141
138142 # Print results grouped by JAR
139- _console .print (f"\n [bold]Found { sum (len (v ) for v in main_classes_by_jar .values ())} classes with main methods:[/]\n " )
143+ _console .print (
144+ f"\n [bold]Found { sum (len (v ) for v in main_classes_by_jar .values ())} classes with main methods:[/]\n "
145+ )
140146
141147 for jar_name , main_classes in sorted (main_classes_by_jar .items ()):
142148 _console .print (f"[cyan]{ jar_name } [/]:" )
@@ -228,7 +234,9 @@ def print_java_info(environment: Environment) -> None:
228234 if environment .has_classpath :
229235 _console .print (f"[bold]Class-path JARs:[/] { len (environment .class_path_jars )} " )
230236 if environment .has_modules :
231- _console .print (f"[bold]Module-path JARs:[/] { len (environment .module_path_jars )} " )
237+ _console .print (
238+ f"[bold]Module-path JARs:[/] { len (environment .module_path_jars )} "
239+ )
232240 _console .print (f"[bold]Total JARs:[/] { len (jar_files )} \n " )
233241
234242 # Analyze each JAR
0 commit comments