Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d685824

Browse files
stainless-app[bot]stainless-bot
authored andcommittedAug 9, 2024·
chore(internal): ensure package is importable in lint cmd (#632)
1 parent 29545ee commit d685824

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,13 @@ format = { chain = [
7979
"lint" = { chain = [
8080
"check:ruff",
8181
"typecheck",
82+
"check:importable",
8283
]}
8384
"check:ruff" = "ruff check ."
8485
"fix:ruff" = "ruff check --fix ."
8586

87+
"check:importable" = "python -c 'import anthropic'"
88+
8689
typecheck = { chain = [
8790
"typecheck:pyright",
8891
"typecheck:mypy"

0 commit comments

Comments
 (0)
Please sign in to comment.