From 1833cb25daa58fb3544e87a74e30178b6f7ffab9 Mon Sep 17 00:00:00 2001 From: Andrei Sorokin Date: Sat, 1 Jun 2024 09:57:58 +0200 Subject: [PATCH] fixed cookiecutter 4 --- requirements.dev.in | 1 + requirements.dev.txt | 1 + src/aws_s3/main.py | 10 +++++----- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/requirements.dev.in b/requirements.dev.in index 2bac697..2e10695 100644 --- a/requirements.dev.in +++ b/requirements.dev.in @@ -3,6 +3,7 @@ # test pytest pytest-cov +allure-pytest # lint pre-commit diff --git a/requirements.dev.txt b/requirements.dev.txt index eef6eed..2eaf268 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -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 diff --git a/src/aws_s3/main.py b/src/aws_s3/main.py index 247dbc5..e980c59 100644 --- a/src/aws_s3/main.py +++ b/src/aws_s3/main.py @@ -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: