Commit 1d88db0c

stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
2024-08-10 03:05:02
chore(internal): ensure package is importable in lint cmd (#1631)
1 parent 2a87736
Changed files (1)
pyproject.toml
@@ -83,10 +83,13 @@ format = { chain = [
 "lint" = { chain = [
   "check:ruff",
   "typecheck",
+  "check:importable",
 ]}
 "check:ruff" = "ruff check ."
 "fix:ruff" = "ruff check --fix ."
 
+"check:importable" = "python -c 'import openai'"
+
 typecheck = { chain = [
   "typecheck:pyright",
   "typecheck:mypy"