workflows: merging corrections

* Fixes import format.

* Fixes tests presentation.

* Fixes unit tests.

* Fixes PEP257.

* Fixes useless utf-8 conversion.

* Fixes _task_result type modification.

Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>