diff tasks.py @ 79:e47dd82a7ddd

switch to pdm
author drewp@bigasterisk.com
date Mon, 04 Apr 2022 10:57:33 -0700
parents c8cf9d85fa81
children 22c9679dbf67
line wrap: on
line diff
--- a/tasks.py	Mon Apr 04 10:57:01 2022 -0700
+++ b/tasks.py	Mon Apr 04 10:57:33 2022 -0700
@@ -9,15 +9,5 @@
     local_release(ctx)
 
 @task
-def mypy(ctx):
-    ctx.run('docker build -f Dockerfile.build -t rdfdb_build:latest .')
-    ctx.run('docker run --rm -it -v `pwd`:/opt rdfdb_build:latest'
-            ' /bin/sh /opt/run_mypy.sh',
-            pty=True)
-
-@task
 def test(ctx):
-    ctx.run('docker build -f Dockerfile.build -t rdfdb_build:latest .')
-    ctx.run('docker run --rm -it -v `pwd`:/opt rdfdb_build:latest'
-            ' nose2 -v rdfdb.currentstategraphapi_test rdfdb.graphfile_test',
-            pty=True)
+    ctx.run('pdm run nose2 -v rdfdb.currentstategraphapi_test rdfdb.graphfile_test', pty=True)