Fix flake8, black and pylint errors in code
Change-Id: Ic03f4d31e2ba9801be20d3679bd5749948cab39d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_ee/util/util_ee.py b/osm_ee/util/util_ee.py
index 1d0a232..915e97f 100644
--- a/osm_ee/util/util_ee.py
+++ b/osm_ee/util/util_ee.py
@@ -27,19 +27,16 @@
logger = logging.getLogger("osm_ee.util")
-async def local_async_exec(command: str
- ) -> (int, str, str):
+async def local_async_exec(command: str) -> (int, str, str):
"""
- Executed a local command using asyncio.
- TODO - do not know yet if return error code, and stdout and strerr or just one of them
+ Executed a local command using asyncio.
+ TODO - do not know yet if return error code, and stdout and strerr or just one of them
"""
scommand = split(command)
logger.debug("Execute local command: {}".format(command))
process = await asyncio.create_subprocess_exec(
- *scommand,
- stdout=asyncio.subprocess.PIPE,
- stderr=asyncio.subprocess.PIPE
+ *scommand, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE
)
# wait for command terminate