Skip to content

Commit eef4077

Browse files
committed
fix depricated api
1 parent ecaa2fa commit eef4077

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • src/pysonar_scanner/configuration

src/pysonar_scanner/configuration/cli.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def __create_parser(cls):
174174
"--sonar-python-analysis-parallel",
175175
"--analysis-in-parallel",
176176
"-Dsonar.python.analysis.parallel",
177-
type=bool,
178177
action=argparse.BooleanOptionalAction,
179178
help="When set to False the analysis will be single threaded",
180179
)
@@ -284,7 +283,6 @@ def __create_parser(cls):
284283
)
285284
scanner_behavior_group.add_argument(
286285
"--sonar-scm-exclusions-disabled",
287-
type=bool,
288286
action=argparse.BooleanOptionalAction,
289287
help="Defines whether files ignored by the SCM, e.g., files listed in .gitignore, will be excluded from the analysis or not",
290288
)
@@ -324,7 +322,6 @@ def __create_parser(cls):
324322
)
325323
scanner_behavior_group.add_argument(
326324
"--sonar-qualitygate-wait",
327-
type=bool,
328325
action=argparse.BooleanOptionalAction,
329326
help="Forces the analysis step to poll the server instance and wait for the Quality Gate status",
330327
)
@@ -353,7 +350,6 @@ def __create_parser(cls):
353350
)
354351
scanner_behavior_group.add_argument(
355352
"--sonar-scm-force-reload-all",
356-
type=bool,
357353
action=argparse.BooleanOptionalAction,
358354
help="Set this property to true to load blame information for all files, which may significantly increase analysis duration",
359355
)
@@ -364,7 +360,6 @@ def __create_parser(cls):
364360
)
365361
scanner_behavior_group.add_argument(
366362
"--sonar-python-skip-unchanged",
367-
type=bool,
368363
action=argparse.BooleanOptionalAction,
369364
help="Override the SonarQube configuration of skipping or not the analysis of unchanged Python files",
370365
)
@@ -511,7 +506,6 @@ def __create_parser(cls):
511506
reports_group.add_argument(
512507
"--sonar-python-xunit-skip-details",
513508
"--xunit-skip-details",
514-
type=bool,
515509
action=argparse.BooleanOptionalAction,
516510
help="When enabled, the test execution statistics is provided only on project level",
517511
)

0 commit comments

Comments
 (0)