Skip to content

Commit

Permalink
Fix mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorgelmh committed Oct 10, 2024
1 parent ddeed1a commit 1ba0d5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion case_study/assertion.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Any

from sympy import Symbol, sympify


Expand All @@ -17,7 +19,7 @@ class Assertion:
Any unknown symbol within the expression is defined as sympy.Symbol and is expected to match a variable.
"""

ns = {}
ns: dict[str, Any] = {}

def __init__(self, expr: str):
self._expr = Assertion.do_sympify(expr)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ build-backend = "setuptools.build_meta"
"fmpy>=0.3.21",
"matplotlib>=3.7.1",
"pint>=0.24.3",
"simpy>=4.1.1"
]
#dynamic = ["version"]

Expand Down

0 comments on commit 1ba0d5f

Please sign in to comment.