Skip to content

Commit

Permalink
linting fix for trash validation
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyBatten committed Oct 30, 2024
1 parent d6b0a66 commit cb4ab7a
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ def is_drop_tip_waste_chute(addressable_area_name: str) -> bool:

def is_trash(addressable_area_name: str) -> bool:
"""Check if an addressable area is a trash bin."""
return [
s in addressable_area_name
for s in {"movableTrash", "fixedTrash", "shortFixedTrash"}
]
return any(
[
s in addressable_area_name
for s in {"movableTrash", "fixedTrash", "shortFixedTrash"}
]
)


def is_staging_slot(addressable_area_name: str) -> bool:
Expand Down

0 comments on commit cb4ab7a

Please sign in to comment.