This commit is contained in:
2024-04-16 14:31:05 +08:00
commit 3e1078d1ac
20 changed files with 3891 additions and 0 deletions

16
tasks.py Normal file
View File

@@ -0,0 +1,16 @@
from invoke import task
@task
def dev(c):
c.run("manage runserver", pty=True)
@task
def style(c):
c.run("ruff check . --fix && ruff format .", pty=True)
@task
def lint(c):
c.run("ruff check .")