Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions codecov_cli/commands/labelanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
logger = logging.getLogger("codecovcli")


@click.command()
@click.command(hidden=True, deprecated=True)
@click.option(
"--token",
required=True,
Expand Down Expand Up @@ -141,7 +141,9 @@ def label_analysis(
logger.info(f"Collected {len(requested_labels)} test labels")
logger.debug(
"Labels collected",
extra=dict(extra_log_attributes=dict(labels_collected=requested_labels)),
extra=dict(
extra_log_attributes=dict(labels_collected=requested_labels)
),
)
payload["requested_labels"] = requested_labels

Expand Down
2 changes: 1 addition & 1 deletion codecov_cli/commands/staticanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
logger = logging.getLogger("codecovcli")


@click.command()
@click.command(hidden=True, deprecated=True)
@click.option(
"--foldertosearch",
default=".",
Expand Down
37 changes: 0 additions & 37 deletions codecovcli_commands
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ Commands:
do-upload
empty-upload
get-report-results
label-analysis
pr-base-picking
process-test-results
send-notifications
static-analysis
upload-coverage
upload-process

Expand Down Expand Up @@ -179,28 +177,6 @@ Options:
repo token in Self-hosted
-h, --help Show this message and exit.

Usage: codecovcli label-analysis [OPTIONS]

Options:
--token TEXT The static analysis token (NOT the same
token as upload) [required]
--head-sha TEXT Commit SHA (with 40 chars) [required]
--base-sha TEXT Commit SHA (with 40 chars) [required]
--runner-name, --runner TEXT Runner to use
--max-wait-time INTEGER Max time (in seconds) to wait for the label
analysis result before falling back to
running all tests. Default is to wait
forever.
--dry-run Print list of tests to run AND tests skipped
AND options that need to be added to the
test runner to stdout. Choose format with
--dry-run-format option. Default is JSON.
--dry-run-format [json|space-separated-list]
Format in which --dry-run data is printed.
Default is JSON.
--runner-param TEXT
-h, --help Show this message and exit.

Usage: codecovcli pr-base-picking [OPTIONS]

Options:
Expand Down Expand Up @@ -245,19 +221,6 @@ Options:
repo token in Self-hosted
-h, --help Show this message and exit.

Usage: codecovcli static-analysis [OPTIONS]

Options:
--foldertosearch PATH Folder to search
--numberprocesses INTEGER number of processes to use
--pattern TEXT file pattern to search for
--force / --no-force
--commit-sha TEXT Commit SHA (with 40 chars) [required]
--folders-to-exclude PATH Folders not to search
--token TEXT The static analysis token (NOT the same token as
upload) [required]
-h, --help Show this message and exit.

Usage: codecovcli upload-coverage [OPTIONS]

Options:
Expand Down