@@ -76,9 +76,9 @@ def count(input_path: str, where: str, group_by: str, cores: int, quite: bool, a
76
76
@click .option ('--cores' , '-c' , type = click .INT , default = cpu_count (), help = 'Maximum processes to run in parallel.' )
77
77
@click .option ('--quite' , '-q' , is_flag = True , help = "Don't show the progress." )
78
78
@click .option ('--output' , '-o' , help = "File to write the output." , default = None )
79
- @click .option ('--skip' , is_flag = True , help = "Skip files and directories that are unreadable." )
80
- def groupby (input_path : str , script : str , where : str , group_by : str , cores : int , quite : bool , annotations : str or None ,
81
- header : bool , show : bool , output : str or None , skip : bool ):
79
+ @click .option ('--skip' , is_flag = True , help = "Skip files and directories that are unreadable." , default = False )
80
+ def groupby (input_path : str , script : str , where : str , group_by : str , cores : int , quite : bool , annotations : str | None ,
81
+ header : bool , show : bool , output : str | None , skip : bool ):
82
82
"""Print on the stdout/"output" the parsed files group by a specified field."""
83
83
out_file = None
84
84
if output :
@@ -110,7 +110,7 @@ def groupby(input_path: str, script: str, where: str, group_by: str, cores: int,
110
110
@openvar .command (name = "plugin" , short_help = 'Actions to execute for a plugin: create.' )
111
111
@click .argument ('action' , type = click .Choice (['create' ]))
112
112
@click .option ('--name' , '-n' , type = click .STRING , help = "Name of the plugin." )
113
- def plugin (action , name : str or None ):
113
+ def plugin (action , name : str | None ):
114
114
"""Actions to apply on the plugin system."""
115
115
class_name = action .upper ()
116
116
module_name = "openvariant.tasks.plugin"
0 commit comments