From 34470b694695c1f728ba9985a0e98e934d6c6ad0 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 15 May 2024 13:23:49 +0100 Subject: [PATCH] Remove errant prints Whoops. Signed-off-by: Stephen Finucane --- sphinx_click/ext.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sphinx_click/ext.py b/sphinx_click/ext.py index c4291f6..d17c8e6 100644 --- a/sphinx_click/ext.py +++ b/sphinx_click/ext.py @@ -197,10 +197,6 @@ def _format_option( def _format_options(ctx: click.Context) -> ty.Generator[str, None, None]: """Format all `click.Option` for a `click.Command`.""" # the hidden attribute is part of click 7.x only hence use of getattr - print(ctx.command.params) - for param in ctx.command.params: - print(type(param)) - print(isinstance(param, click.Option)) params = [ param for param in ctx.command.params