diff --git a/pyproject.toml b/pyproject.toml index 9c83944f..c0bc5e9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,10 +79,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"