Skip to content

Commit

Permalink
sate linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AiredaleDev committed Jun 19, 2024
1 parent c7eb0e1 commit 5c075a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions toolchain/mfc/run/case_dicts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ class ParamType(Enum):
REAL = {"type": "number"}
LOG = {"enum": ["T", "F"]}
STR = {"type": "string"}

_ANALYTIC_INT = {"type": ["integer", "string"]}
_ANALYTIC_REAL = {"type": ["number", "string"]}

def analytic(self):
if self == self.INT:
return self._ANALYTIC_INT
elif self == self.REAL:
if self == self.REAL:
return self._ANALYTIC_REAL
else:
return self.STR
return self.STR

COMMON = {
'hypoelasticity': ParamType.LOG,
Expand Down

0 comments on commit 5c075a0

Please sign in to comment.