Skip to content

Commit

Permalink
changed mypy config logic and removed cookiecutter dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Jul 22, 2024
1 parent b275e0c commit c765dc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ classifiers = [
{%- if cookiecutter.backend == "hatch" %}
dynamic = ["version"]
{%- endif %}
dependencies = ["pybamm", "cookiecutter"]
dependencies = ["pybamm",]

[project.optional-dependencies]
dev = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@
{# keep this line here for newline #}
{%- if cookiecutter.mypy %}
__all__: list[str] = [
"__version__",
"pybamm",
"parameter_sets",
"Model",
"models",
]
{%- else %}
__all__ = [
{%- endif %}
"__version__",
"pybamm",
"parameter_sets",
"Model",
"models",
]
{%- endif %}

0 comments on commit c765dc2

Please sign in to comment.