You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
346 B
Python

1 year ago
from invoke import task
@task
def serve_dev(c):
"""Runs the development server of this litestar project"""
c.run("echo 'Starting dev server'")
c.run("LITESTAR_APP=learn_litestar.app:app litestar run")
@task
def delint(c):
c.run("isort ./learn_litestar ./tests", pty=True)
c.run("black ./learn_litestar ./tests", pty=True)