summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tasks.py b/tasks.py
index 8d9c4c6..9291e7e 100644
--- a/tasks.py
+++ b/tasks.py
@@ -1,11 +1,11 @@
import os
import shutil
-from invoke import task, run
-with open('tox.ini') as fp:
+from invoke import run, task
+
+with open("tox.ini") as fp:
lines = fp.read().split("\n")
- dockers = [line.split("=")[1].strip() for line in lines
- if line.find("name") != -1]
+ dockers = [line.split("=")[1].strip() for line in lines if line.find("name") != -1]
@task
@@ -14,7 +14,7 @@ def devenv(c):
specified in the tox.ini file.
"""
clean(c)
- cmd = 'tox -e devenv'
+ cmd = "tox -e devenv"
for d in dockers:
cmd += f" --docker-dont-stop={d}"
run(cmd)