From 3336195f4f3e79c9b459ebaf4e962bf8b50de3cd Mon Sep 17 00:00:00 2001 From: Tony Le Date: Fri, 6 Dec 2024 10:22:00 -0500 Subject: [PATCH] sender.send_upload_data sender.send_upload_data pass arguments as kwargs --- codecov_cli/services/upload/__init__.py | 38 ++++++++++++------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/codecov_cli/services/upload/__init__.py b/codecov_cli/services/upload/__init__.py index 003f84bc..b80ff45b 100644 --- a/codecov_cli/services/upload/__init__.py +++ b/codecov_cli/services/upload/__init__.py @@ -133,26 +133,24 @@ def do_upload_logic( if not dry_run: sending_result = sender.send_upload_data( - upload_data, - commit_sha, - token, - env_vars, - report_code, - upload_file_type, - name, - branch, - slug, - pull_request_number, - build_code, - build_url, - job_code, - flags, - ci_service, - git_service, - enterprise_url, - parent_sha, - upload_coverage, - args, + upload_data=upload_data, + commit_sha=commit_sha, + token=token, + env_vars=env_vars, + name=name, + branch=branch, + slug=slug, + pull_request_number=pull_request_number, + build_code=build_code, + build_url=build_url, + job_code=job_code, + flags=flags, + ci_service=ci_service, + git_service=git_service, + enterprise_url=enterprise_url, + parent_sha=parent_sha, + upload_coverage=upload_coverage, + args=args, ) else: logger.info("dry-run option activated. NOT sending data to Codecov.")