Skip to content

Commit

Permalink
remove some lint, unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 12, 2024
1 parent 34e99ba commit 595aa6d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions babelizer/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@

out = partial(click.secho, bold=True, err=True)
err = partial(click.secho, fg="red", err=True)
# ask = partial(click.prompt, show_default=True, err=True)
yes = partial(click.confirm, show_default=True, err=True)


class BabelizerAbort(click.Abort):
Expand Down Expand Up @@ -210,7 +208,7 @@ def update(template, quiet, verbose, set_version):
@babelize.command()
def sample_config():
"""Generate the babelizer configuration file."""
sample_config()
print_sample_config()


def _get_dir_contents(base, trunk=None):
Expand Down Expand Up @@ -293,7 +291,7 @@ def _generated_files(babel_metadata, template=None, version="0.1"):
"""


def sample_config() -> int:
def print_sample_config() -> int:
"""Print a sample babelizer configuration file."""
print(SAMPLE_CONFIG, end="")
return 0
Expand Down

0 comments on commit 595aa6d

Please sign in to comment.