From 559a01b27239b96620fbb751818329a9bb49ff4a Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Fri, 9 Aug 2024 19:06:11 +0000 Subject: [PATCH] chore(internal): ensure package is importable in lint cmd --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d04a4702..eba3b21c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,10 +76,13 @@ format = { chain = [ "lint" = { chain = [ "check:ruff", "typecheck", + "check:importable", ]} "check:ruff" = "ruff check ." "fix:ruff" = "ruff check --fix ." +"check:importable" = "python -c 'import finch'" + typecheck = { chain = [ "typecheck:pyright", "typecheck:mypy"