Skip to content

Commit

Permalink
Revert "show defaults in --help"
Browse files Browse the repository at this point in the history
This reverts commit 5d7f486.
  • Loading branch information
altendky committed Nov 22, 2024
1 parent 320f1cd commit 95df856
Showing 1 changed file with 7 additions and 51 deletions.
58 changes: 7 additions & 51 deletions chia/cmds/gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,75 +86,31 @@ def gh_group() -> None:
)
class TestCMD:
workflow_id: ClassVar[str] = "test.yml"
owner: str = option(
"-o",
"--owner",
help="Owner of the repo",
type=str,
default="Chia-Network",
show_default=True,
)
repository: str = option(
"-r",
"--repository",
help="Repository name",
type=str,
default="chia-blockchain",
show_default=True,
)
owner: str = option("-o", "--owner", help="Owner of the repo", type=str, default="Chia-Network")
repository: str = option("-r", "--repository", help="Repository name", type=str, default="chia-blockchain")
ref: Optional[str] = option(
"-f",
"--ref",
help="Branch or tag name (commit SHA not supported), if not specified will push HEAD to a temporary branch",
type=str,
default=None,
show_default=True,
)
per: Per = option(
"-p",
"--per",
help="Per",
type=click.Choice(["directory", "file"]),
default="directory",
show_default=True,
)
per: Per = option("-p", "--per", help="Per", type=click.Choice(["directory", "file"]), default="directory")
only: Optional[Path] = option(
"-o",
"--only",
help="Only run this item, a file or directory depending on --per",
type=Path,
show_default=True,
)
duplicates: int = option(
"-d",
"--duplicates",
help="Number of duplicates",
type=int,
default=1,
show_default=True,
"-o", "--only", help="Only run this item, a file or directory depending on --per", type=Path
)
duplicates: int = option("-d", "--duplicates", help="Number of duplicates", type=int, default=1)
oses: Sequence[Oses] = option(
"--os",
help="Operating systems to run on",
type=click.Choice(all_oses),
multiple=True,
default=all_oses,
show_default=True,
)
full_python_matrix: bool = option(
"--full-python-matrix/--default-python-matrix",
help="Run on all Python versions",
default=False,
show_default=True,
)
remote: str = option(
"-r",
"--remote",
help="Name of git remote",
type=str,
default="origin",
show_default=True,
"--full-python-matrix/--default-python-matrix", help="Run on all Python versions", default=False
)
remote: str = option("-r", "--remote", help="Name of git remote", type=str, default="origin")

async def run(self) -> None:
await self.check_only()
Expand Down

0 comments on commit 95df856

Please sign in to comment.