Skip to content

Commit

Permalink
Filter out some mypy related code
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jul 27, 2023
1 parent 6657798 commit 18d5d64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scicookie/{{cookiecutter.project_slug}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ docs/_build/
docs/_templates/
{%+ endif %}

{%- if cookiecutter.use_mypy == "yes" %}
# mypy
.mypy_cache/
{%- endif %}

# IDE settings
.vscode/
Expand Down
3 changes: 3 additions & 0 deletions src/scicookie/{{cookiecutter.project_slug}}/conda/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ dependencies:
{%- if cookiecutter.documentation_engine == "sphinx" %}
- pandoc
{%- endif %}
{%- if cookiecutter.use_mypy == "yes" %}
- mypy
{%- endif %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{%- if cookiecutter.use_mypy == "yes" %}
# mypy: disable-error-code="attr-defined"
{%- endif %}
"""{{ cookiecutter.project_name }}."""
{%- if cookiecutter.use_blue == "yes" %}
{%- set QUOTE = "'" -%}
Expand Down

0 comments on commit 18d5d64

Please sign in to comment.