Skip to content

Commit 3f0dbed

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
sambacc/commands: add docstring and fix type hint for enable_logging
Signed-off-by: John Mulligan <[email protected]>
1 parent c62cbe4 commit 3f0dbed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sambacc/commands/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ def pre_action(cli: argparse.Namespace) -> None:
174174
)
175175

176176

177-
def enable_logging(cli: typing.Any) -> None:
177+
def enable_logging(cli: argparse.Namespace) -> None:
178+
"""Configure sambacc command line logging."""
178179
level = logging.DEBUG if cli.debug else logging.INFO
179180
logger = logging.getLogger()
180181
logger.setLevel(level)

0 commit comments

Comments
 (0)