Enable EM in flake8 and ruff
This commit is contained in:
parent
652713e702
commit
ae2dc8db64
1 changed files with 201 additions and 99 deletions
|
|
@ -141,7 +141,8 @@ def make_replay_order(make_order, simulation):
|
|||
"""
|
||||
if scheduled:
|
||||
if order and order.ad_hoc is False:
|
||||
raise RuntimeError("`order` must be scheduled")
|
||||
msg = "`order` must be scheduled"
|
||||
raise RuntimeError(msg)
|
||||
|
||||
if order is None:
|
||||
order = make_order(scheduled=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue