@@ -161,7 +161,7 @@ def __create_parser(cls):
161
161
"--sonar-modules" , "-Dsonar.modules" , type = str , help = "Comma-delimited list of modules to analyze"
162
162
)
163
163
164
- server_connection_group = parser .add_argument_group ("SonarQube Server Connection" )
164
+ server_connection_group = parser .add_argument_group ("SonarQube Connection" )
165
165
server_connection_group .add_argument (
166
166
"--sonar-host-url" ,
167
167
"-Dsonar.host.url" ,
@@ -333,6 +333,12 @@ def __create_parser(cls):
333
333
type = bool ,
334
334
help = "Equivalent to --sonar-scm-force-reload-all" ,
335
335
)
336
+ scanner_behavior_group .add_argument (
337
+ "--sonar-python-skip-unchanged" ,
338
+ type = bool ,
339
+ action = argparse .BooleanOptionalAction ,
340
+ help = "Override the SonarQube configuration of skipping or not the analysis of unchanged Python files" ,
341
+ )
336
342
337
343
jvm_group = parser .add_argument_group ("JVM Settings" )
338
344
jvm_group .add_argument (
@@ -439,7 +445,7 @@ def __create_parser(cls):
439
445
help = "Overrides the revision, for instance, the Git sha1, displayed in analysis results" ,
440
446
)
441
447
442
- reports_group = parser .add_argument_group ("3rd party report arguments" )
448
+ reports_group = parser .add_argument_group ("3rd party reports arguments" )
443
449
reports_group .add_argument (
444
450
"--sonar-python-pylint-report-path" ,
445
451
"--pylint-report-path" ,
@@ -454,12 +460,6 @@ def __create_parser(cls):
454
460
type = str ,
455
461
help = "Comma-delimited list of paths to coverage reports in the Cobertura XML format." ,
456
462
)
457
- reports_group .add_argument (
458
- "--sonar-python-skip-unchanged" ,
459
- type = bool ,
460
- action = argparse .BooleanOptionalAction ,
461
- help = "Override the SonarQube configuration of skipping or not the analysis of unchanged Python files" ,
462
- )
463
463
reports_group .add_argument (
464
464
"-Dsonar.python.skipUnchanged" ,
465
465
type = bool ,
0 commit comments