Skip to content

Commit

Permalink
Relax click constraint (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored May 12, 2021
1 parent 74c4c77 commit 06c547b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mkdocs_click/_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def _recursively_make_command_docs(

subcommands = _get_sub_commands(ctx.command, ctx)

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


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_long_description() -> str:
author_email="[email protected]",
license="Apache",
packages=["mkdocs_click"],
install_requires=["click==7.*", "markdown==3.*"],
install_requires=["click>=7,<9", "markdown==3.*"],
python_requires=">=3.7",
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 06c547b

Please sign in to comment.