Skip to content

Commit

Permalink
chore: rename compile function for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-fs committed Oct 8, 2023
1 parent 3adf64a commit fbea03a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pybuild_deps/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/pybuild_deps/scripts/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fbea03a

Please sign in to comment.