Skip to content

Commit

Permalink
Try to make pyupgrade happy
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfesti committed Jul 6, 2024
1 parent f5d51e6 commit 3dfaa24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boxes/generators/trafficlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ def margin(self) -> float:

class TrafficLight(Boxes): # change class name here and below
"""Traffic light"""

description = """The traffic light was created to visualize the status of a Icinga monitored system.
When turned by 90°, it can be also used to create a bottle holder."""
When turned by 90°, it can be also used to create a bottle holder.
"""

def __init__(self) -> None:
Boxes.__init__(self)
Expand Down

0 comments on commit 3dfaa24

Please sign in to comment.