Skip to content

Commit

Permalink
Run black to be compatible with PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
userlocalhost committed Nov 28, 2023
1 parent b512eed commit b614bd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion airone/exceptions/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


class InvalidInputException(AirOneBaseException):
pass
pass
2 changes: 2 additions & 0 deletions trigger/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ def _is_match_object(val):
elif attr_type == AttrTypeValue["boolean"]:
return self.bool_cond == recv_value

return False

@classmethod
def register(cls, entity: Entity, conditions: list, actions: list) -> TriggerParentCondition:
# convert input to InputTriggerCondition
Expand Down

0 comments on commit b614bd3

Please sign in to comment.