Skip to content

Commit

Permalink
fixed cookiecutter 4
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Jun 1, 2024
1 parent 38fe554 commit 1833cb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions requirements.dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# test
pytest
pytest-cov
allure-pytest

# lint
pre-commit
Expand Down
1 change: 1 addition & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
-e .
astroid==3.0.2
# via pylint
allure-pytest==2.13.5
babel==2.14.0
# via mkdocs-material
bracex==2.4
Expand Down
10 changes: 5 additions & 5 deletions src/aws_s3/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
click.rich_click.USE_MARKDOWN = True
OUTPUT_FILE_DEFAULT = "output"

@click.command() # type: ignore
@click.version_option(version=__version__, prog_name="aws-s3") # type: ignore
@click.argument("input_file", type=click.Path(exists=True)) # type: ignore
@click.argument("output_file", type=click.Path(), required=False) # type: ignore
@click.option("--force", is_flag=True, help="Overwrite the output file if it exists.") # type: ignore
@click.command()
@click.version_option(version=__version__, prog_name="aws-s3")
@click.argument("input_file", type=click.Path(exists=True))
@click.argument("output_file", type=click.Path(), required=False)
@click.option("--force", is_flag=True, help="Overwrite the output file if it exists.")
def aws_s3(
input_file: str, output_file: str, force: bool
) -> None:
Expand Down

0 comments on commit 1833cb2

Please sign in to comment.