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 .")