Skip to content

Commit

Permalink
fix(file): remove mypy filter #type:ignore (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
YurelyCamacho authored Mar 29, 2024
1 parent 9c53ee3 commit 55de1e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 55de1e2

Please sign in to comment.