diff --git a/src/pybuild_deps/__main__.py b/src/pybuild_deps/__main__.py index ee0e10b..f098b2b 100644 --- a/src/pybuild_deps/__main__.py +++ b/src/pybuild_deps/__main__.py @@ -27,7 +27,7 @@ def find_build_deps(package_name, package_version, verbose): click.echo(dep) -cli.add_command(compile.cli, "compile") +cli.add_command(compile.compile, "compile") if __name__ == "__main__": cli(prog_name="pybuild-deps") # pragma: no cover diff --git a/src/pybuild_deps/scripts/compile.py b/src/pybuild_deps/scripts/compile.py index 6eb4348..a4b96be 100644 --- a/src/pybuild_deps/scripts/compile.py +++ b/src/pybuild_deps/scripts/compile.py @@ -90,7 +90,7 @@ def get_compile_command(click_ctx): show_envvar=True, type=click.Path(file_okay=False, writable=True), ) -def cli( +def compile( ctx: click.Context, verbose: int, quiet: int,