summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorEdgar Sousa <edg@edgsousa.xyz>2018-06-12 10:37:37 +0100
committeredgsousa <mythund3r>2018-06-12 10:37:37 +0100
commit7696885e88e97b99a96069890a7143de7f3a40aa (patch)
treee6fd1757c66f9ba88596f78a578bd548c646560d /tasks.py
parent369c85d32f3ebe392c9f085347d48c0791b563fc (diff)
parent6efe46d6ab0ad2daba436dc0aaed29f57b13bd2c (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 6cf20377..fb15728b 100644
--- a/tasks.py
+++ b/tasks.py
@@ -3,6 +3,8 @@ from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, task
+from invocations import travis
+from invocations.checks import blacken
from invocations.docs import docs, www, sites
from invocations.packaging.release import ns as release_coll, publish
from invocations.testing import count_errors
@@ -106,7 +108,7 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
copytree("sites/docs/_build", target)
# Publish
publish(
- ctx, sdist=sdist, wheel=wheel, sign=sign, dry_run=dry_run, index=index,
+ ctx, sdist=sdist, wheel=wheel, sign=sign, dry_run=dry_run, index=index
)
# Remind
print(
@@ -121,7 +123,16 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
release_coll.tasks["publish"] = release
ns = Collection(
- test, coverage, guard, release_coll, docs, www, sites, count_errors
+ test,
+ coverage,
+ guard,
+ release_coll,
+ docs,
+ www,
+ sites,
+ count_errors,
+ travis,
+ blacken,
)
ns.configure(
{