Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit dbf3dfd

Browse files
committed
Hide and mark ATS-related commands as deprecated
As a first step, this just hides the commands from help output, and marks them as deprecated, which means invoking them outputs a message saying so.
1 parent 8364881 commit dbf3dfd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

codecov_cli/commands/labelanalysis.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
logger = logging.getLogger("codecovcli")
2424

2525

26-
@click.command()
26+
@click.command(hidden=True, deprecated=True)
2727
@click.option(
2828
"--token",
2929
required=True,
@@ -141,7 +141,9 @@ def label_analysis(
141141
logger.info(f"Collected {len(requested_labels)} test labels")
142142
logger.debug(
143143
"Labels collected",
144-
extra=dict(extra_log_attributes=dict(labels_collected=requested_labels)),
144+
extra=dict(
145+
extra_log_attributes=dict(labels_collected=requested_labels)
146+
),
145147
)
146148
payload["requested_labels"] = requested_labels
147149

codecov_cli/commands/staticanalysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
logger = logging.getLogger("codecovcli")
1616

1717

18-
@click.command()
18+
@click.command(hidden=True, deprecated=True)
1919
@click.option(
2020
"--foldertosearch",
2121
default=".",

0 commit comments

Comments
 (0)