From fb45c2177b772aaac2bef19b67733947d3940a27 Mon Sep 17 00:00:00 2001 From: Mark Joshwel Date: Tue, 26 Mar 2024 18:52:23 +0000 Subject: [PATCH] meta: add hatch fmt to check script --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b2b6f30..19674d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,8 +64,15 @@ description = "default development environment" dependencies = ["mypy", "isort"] [tool.hatch.envs.default.scripts] -check = ["- mypy *.py", "- isort --check surplus"] -format = ["hatch fmt -f", "isort surplus"] +check = [ + "mypy *.py", + "hatch fmt --check", + "isort --check surplus" +] +format = [ + "hatch fmt -f", + "isort surplus" +] [tool.hatch.envs.docs] detached = true