@@ -170,7 +170,7 @@ def __create_parser(cls):
170170 "--sonar-modules" , "-Dsonar.modules" , type = str , help = "Comma-delimited list of modules to analyze"
171171 )
172172
173- server_connection_group = parser .add_argument_group ("SonarQube Server Connection" )
173+ server_connection_group = parser .add_argument_group ("SonarQube Connection" )
174174 server_connection_group .add_argument (
175175 "--sonar-host-url" ,
176176 "-Dsonar.host.url" ,
@@ -342,6 +342,12 @@ def __create_parser(cls):
342342 type = bool ,
343343 help = "Equivalent to --sonar-scm-force-reload-all" ,
344344 )
345+ scanner_behavior_group .add_argument (
346+ "--sonar-python-skip-unchanged" ,
347+ type = bool ,
348+ action = argparse .BooleanOptionalAction ,
349+ help = "Override the SonarQube configuration of skipping or not the analysis of unchanged Python files" ,
350+ )
345351
346352 jvm_group = parser .add_argument_group ("JVM Settings" )
347353 jvm_group .add_argument (
@@ -448,7 +454,7 @@ def __create_parser(cls):
448454 help = "Overrides the revision, for instance, the Git sha1, displayed in analysis results" ,
449455 )
450456
451- reports_group = parser .add_argument_group ("3rd party report arguments" )
457+ reports_group = parser .add_argument_group ("3rd party reports arguments" )
452458 reports_group .add_argument (
453459 "--sonar-python-pylint-report-path" ,
454460 "--pylint-report-path" ,
@@ -463,12 +469,6 @@ def __create_parser(cls):
463469 type = str ,
464470 help = "Comma-delimited list of paths to coverage reports in the Cobertura XML format." ,
465471 )
466- reports_group .add_argument (
467- "--sonar-python-skip-unchanged" ,
468- type = bool ,
469- action = argparse .BooleanOptionalAction ,
470- help = "Override the SonarQube configuration of skipping or not the analysis of unchanged Python files" ,
471- )
472472 reports_group .add_argument (
473473 "-Dsonar.python.skipUnchanged" ,
474474 type = bool ,
0 commit comments