From fbea03a2ed5908d2437086e9bf57df64cbb994ed Mon Sep 17 00:00:00 2001 From: Bruno FS Ciconelle Date: Sun, 8 Oct 2023 02:49:50 -0300 Subject: [PATCH] chore: rename compile function for documentation --- src/pybuild_deps/__main__.py | 2 +- src/pybuild_deps/scripts/compile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,