From 0e6c5e02adce72f5a7e89c6bf21929f3d0fbf509 Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Fri, 10 Sep 2021 01:18:59 -0700 Subject: [PATCH] Add flake8 & isort tasks to taskipy --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8239048..cb47b6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,6 +93,8 @@ reportMissingImports = true reportMissingTypeStubs = true [tool.taskipy.tasks] +lint = {cmd = "flake8 hyperglass", help = "Run Flake8"} +sort = {cmd = "isort hyperglass", help = "Run iSort"} start = {cmd = "uvicorn hyperglass.api:app", help = "Start hyperglass via Uvicorn"} start-direct = {cmd = "python3 -m hyperglass.console start", help = "Start hyperglass via hyperglass.console.CLI"} ui-build = {cmd = "python3 -m hyperglass.console build-ui", help = "Run a UI Build"}