summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-05-16 16:09:03 -0400
committerJeff Forcier <jeff@bitprophet.org>2023-05-18 13:57:19 -0400
commit1157b43917199854a8ae9e5c66becd23a713473b (patch)
treed5c64fd9e2d006a48203ac3810a4da8ec52b53ea
parent629e7809a5c651728ea983c903a4973efcc91526 (diff)
Use new Invocations combo check task
-rw-r--r--dev-requirements.txt2
-rw-r--r--tasks.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt
index b409ce7a..86092313 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,6 +1,6 @@
# Invocations for common project tasks
invoke>=2.0
-invocations>=3.0
+invocations>=3.2
# Testing!
pytest-relaxed>=2
# pytest-xdist for test dir watching and the inv guard task
diff --git a/tasks.py b/tasks.py
index f58f699e..93c54466 100644
--- a/tasks.py
+++ b/tasks.py
@@ -4,7 +4,7 @@ from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, task
-from invocations.checks import blacken
+from invocations import checks
from invocations.docs import docs, www, sites, watch_docs
from invocations.packaging.release import ns as release_coll, publish
from invocations.testing import count_errors
@@ -143,7 +143,8 @@ ns = Collection(
watch_docs,
sites,
count_errors,
- blacken,
+ checks.blacken,
+ checks,
)
ns.configure(
{