Skip to content

Commit 147391f

Browse files
CR fixes
1 parent 9f3474b commit 147391f

File tree

1 file changed

+8
-8
lines changed
  • src/pysonar_scanner/configuration

1 file changed

+8
-8
lines changed

src/pysonar_scanner/configuration/cli.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def __create_parser(cls):
161161
"--sonar-modules", "-Dsonar.modules", type=str, help="Comma-delimited list of modules to analyze"
162162
)
163163

164-
server_connection_group = parser.add_argument_group("SonarQube Server Connection")
164+
server_connection_group = parser.add_argument_group("SonarQube Connection")
165165
server_connection_group.add_argument(
166166
"--sonar-host-url",
167167
"-Dsonar.host.url",
@@ -333,6 +333,12 @@ def __create_parser(cls):
333333
type=bool,
334334
help="Equivalent to --sonar-scm-force-reload-all",
335335
)
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+
)
336342

337343
jvm_group = parser.add_argument_group("JVM Settings")
338344
jvm_group.add_argument(
@@ -439,7 +445,7 @@ def __create_parser(cls):
439445
help="Overrides the revision, for instance, the Git sha1, displayed in analysis results",
440446
)
441447

442-
reports_group = parser.add_argument_group("3rd party report arguments")
448+
reports_group = parser.add_argument_group("3rd party reports arguments")
443449
reports_group.add_argument(
444450
"--sonar-python-pylint-report-path",
445451
"--pylint-report-path",
@@ -454,12 +460,6 @@ def __create_parser(cls):
454460
type=str,
455461
help="Comma-delimited list of paths to coverage reports in the Cobertura XML format.",
456462
)
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-
)
463463
reports_group.add_argument(
464464
"-Dsonar.python.skipUnchanged",
465465
type=bool,

0 commit comments

Comments
 (0)