Skip to content

Commit 06c547b

Browse files
author
Ofek Lev
authored
Relax click constraint (#39)
1 parent 74c4c77 commit 06c547b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

mkdocs_click/_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ def _recursively_make_command_docs(
4141

4242
subcommands = _get_sub_commands(ctx.command, ctx)
4343

44-
for command in sorted(subcommands, key=lambda cmd: cmd.name):
44+
for command in sorted(subcommands, key=lambda cmd: cmd.name): # type: ignore
4545
yield from _recursively_make_command_docs(
46-
command.name, command, parent=ctx, depth=depth + 1, style=style, has_attr_list=has_attr_list
46+
cast(str, command.name), command, parent=ctx, depth=depth + 1, style=style, has_attr_list=has_attr_list
4747
)
4848

4949

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_long_description() -> str:
3131
author_email="packages@datadoghq.com",
3232
license="Apache",
3333
packages=["mkdocs_click"],
34-
install_requires=["click==7.*", "markdown==3.*"],
34+
install_requires=["click>=7,<9", "markdown==3.*"],
3535
python_requires=">=3.7",
3636
include_package_data=True,
3737
zip_safe=False,

0 commit comments

Comments
 (0)