Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizemdem committed Jun 18, 2024
1 parent f495a6f commit dcbe785
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
AutomationContext,
execute_automate_function,
)

from flatten import flatten_base
import maple as mp


Expand All @@ -25,13 +23,15 @@ class FunctionInputs(AutomateBase):
read_only: str = Field(
default="Placeholder",
title="Automated Test Cases",
description=("checks window height is greater than 2600 mm"
"validates SIP 202mm wall type area is greater than 43 m2"
"checks pipes OmniClass value"
"validates basic roof`s thermal mass"
"validates columns assembly type."
"validates ceiling thickness is 50"
"checks there are exactly 55 walls")
description=(
"checks window height is greater than 2600 mm"
"validates SIP 202mm wall type area is greater than 43 m2"
"checks pipes OmniClass value"
"validates basic roof`s thermal mass"
"validates columns assembly type."
"validates ceiling thickness is 50"
"checks there are exactly 55 walls"
),
)


Expand Down Expand Up @@ -67,8 +67,7 @@ def automate_function(
category=case.spec_name,
object_ids=assertion.failed,
message=f"{case.spec_name}.\n"
f"On {len(assertion.failed)} objects, assertion {
assertion.assertion_type} failed.",
f"On {len(assertion.failed)} objects, assertion {assertion.assertion_type} failed.",
)

if failed_count > 0:
Expand Down

0 comments on commit dcbe785

Please sign in to comment.