Browse Source

Add tc target to tasks

Getty Ritter 2 years ago
parent
commit
c73be2b310
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tasks.py

+ 5 - 0
tasks.py

@@ -41,3 +41,8 @@ def fmt(c):
 def populate(c):
     """Populate the test database with fake-ish data"""
     c.run("PYTHONPATH=$(pwd) poetry run python3 ./scripts/populate.py")
+
+@task
+def tc(c):
+    """Populate the test database with fake-ish data"""
+    c.run("MYPYPATH=$(pwd)/stubs poetry run mypy lc/*.py tests/*.py scripts/*.py")