From 55de1e2b482db2346b24bd27fe06f8db65cc2cc5 Mon Sep 17 00:00:00 2001 From: YurelyCamacho <49034451+YurelyCamacho@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:38:28 -0400 Subject: [PATCH] fix(file): remove mypy filter #type:ignore (#250) --- .../{{cookiecutter.package_slug}}/__init__.py | 3 --- .../{{cookiecutter.package_slug}}/__main__.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__init__.py b/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__init__.py index f99e571e..79872e89 100644 --- a/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__init__.py +++ b/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__init__.py @@ -1,7 +1,4 @@ """{{ cookiecutter.project_name }}.""" -{%- if cookiecutter.use_mypy == "yes" %} -# mypy: disable-error-code="attr-defined" -{%- endif %} {%- if cookiecutter.use_black == "yes" %} {%- set QUOTE = '"' -%} {%- else %} diff --git a/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__main__.py b/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__main__.py index 0bf382ce..29690367 100644 --- a/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__main__.py +++ b/src/scicookie/{{cookiecutter.project_slug}}/{{cookiecutter.package_slug}}/__main__.py @@ -12,7 +12,7 @@ {%- set QUOTE = "'" -%} {%- endif %} -from {{cookiecutter.package_slug}}.cli import main # type: ignore +from {{cookiecutter.package_slug}}.cli import main if __name__ == {{ QUOTE }}__main__{{ QUOTE }}: main()