Fix: run pre-commit hooks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from bopytex.worker import Dispatcher
|
||||
from .workers import fake_worker, success_worker, fail_worker
|
||||
|
||||
from .workers import fail_worker, fake_worker, success_worker
|
||||
|
||||
fake_dispatcher = Dispatcher(
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from bopytex.message import Message
|
||||
|
||||
|
||||
def fake_worker(args, deps, output):
|
||||
return Message(0, [f"FAKE - {args} - {deps} - {output}"], [])
|
||||
|
||||
@@ -10,4 +11,3 @@ def success_worker(args, deps, output):
|
||||
|
||||
def fail_worker(args, deps, output):
|
||||
return Message(1, [f"FAILURE - {args} - {deps} - {output}"], [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user