Skip to content

Commit

Permalink
lint sins
Browse files Browse the repository at this point in the history
  • Loading branch information
egocarib committed Jan 19, 2024
1 parent 60baac3 commit 98eb816
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hagadias/qudobject_props.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,11 @@ def desc(self) -> str | None:
m_itemtype = "item"
if self.part_CyberneticsBaseItem is not None:
m_itemtype = "implant"
elif self.part_MissileWeapon is not None or self.part_MeleeWeapon is not None or self.part_ThrownWeapon is not None:
elif (
self.part_MissileWeapon is not None
or self.part_MeleeWeapon is not None
or self.part_ThrownWeapon is not None
):
m_itemtype = "weapon"
elif self.part_Armor is not None:
m_itemtype = "armor"
Expand Down

0 comments on commit 98eb816

Please sign in to comment.