From d74db0cc84f6d18e44a91408fb5ac2c32fbc140c Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Fri, 9 Aug 2024 19:57:04 +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 ee3e57f..ce0f401 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 prompt_foundry_python_sdk'" + typecheck = { chain = [ "typecheck:pyright", "typecheck:mypy"