@@ -170,7 +170,7 @@ def __create_parser(cls):
170
170
"--sonar-modules" , "-Dsonar.modules" , type = str , help = "Comma-delimited list of modules to analyze"
171
171
)
172
172
173
- server_connection_group = parser .add_argument_group ("SonarQube Server Connection" )
173
+ server_connection_group = parser .add_argument_group ("SonarQube Connection" )
174
174
server_connection_group .add_argument (
175
175
"--sonar-host-url" ,
176
176
"-Dsonar.host.url" ,
@@ -342,6 +342,12 @@ def __create_parser(cls):
342
342
type = bool ,
343
343
help = "Equivalent to --sonar-scm-force-reload-all" ,
344
344
)
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
+ )
345
351
346
352
jvm_group = parser .add_argument_group ("JVM Settings" )
347
353
jvm_group .add_argument (
@@ -448,7 +454,7 @@ def __create_parser(cls):
448
454
help = "Overrides the revision, for instance, the Git sha1, displayed in analysis results" ,
449
455
)
450
456
451
- reports_group = parser .add_argument_group ("3rd party report arguments" )
457
+ reports_group = parser .add_argument_group ("3rd party reports arguments" )
452
458
reports_group .add_argument (
453
459
"--sonar-python-pylint-report-path" ,
454
460
"--pylint-report-path" ,
@@ -463,12 +469,6 @@ def __create_parser(cls):
463
469
type = str ,
464
470
help = "Comma-delimited list of paths to coverage reports in the Cobertura XML format." ,
465
471
)
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
- )
472
472
reports_group .add_argument (
473
473
"-Dsonar.python.skipUnchanged" ,
474
474
type = bool ,
0 commit comments