diff --git a/pyproject.toml b/pyproject.toml index b88664e8..9f984a45 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 anthropic'" + typecheck = { chain = [ "typecheck:pyright", "typecheck:mypy"