Skip to content

Commit

Permalink
Fix indentation in Operation class constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Pabloo22 committed Feb 12, 2024
1 parent 8b4bc28 commit 546bf1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion job_shop_lib/operation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class Operation:
__slots__ = ("machines", "duration")

def __init__(self, machines: int | list[int], duration: int):
self.machines = [machines] if isinstance(machines, int) else machines
self.duration = duration
Expand Down

0 comments on commit 546bf1f

Please sign in to comment.