Get errors, warnings, and hints for your Python code
file:///workspace/main.py)error, warning, information, hint| Code | Description | Example |
|---|---|---|
undefined-variable | Variable not defined | print(unknown_var) |
type-mismatch | Type doesn’t match expected | calculate("5") when expecting int |
import-not-found | Module cannot be imported | import nonexistent_module |
syntax-error | Invalid Python syntax | def foo( (missing closing paren) |
missing-argument | Required parameter not provided | calculate() when calculate(x) expected |
| Code | Description | Example |
|---|---|---|
unused-import | Import never used | import os but os not referenced |
unused-variable | Variable assigned but never used | temp = 5 but temp not used |
duplicate-import | Module imported multiple times | import json twice |
unreachable-code | Code that will never execute | Code after return |
deprecated | Using deprecated functionality | collections.Mapping instead of collections.abc.Mapping |
| Code | Description | Example |
|---|---|---|
missing-type-hint | Type annotation missing | def foo(x): instead of def foo(x: int): |
convention-violation | Style guideline not followed | Function name not snake_case |
| Code | Reason | Solution |
|---|---|---|
FILE_NOT_FOUND | File doesn’t exist | Verify file path |
INVALID_PYTHON | File is not Python | Check file extension and content |
PARSE_ERROR | Cannot parse file | File has syntax errors preventing analysis |
WORKSPACE_NOT_LOADED | Workspace still loading | Wait for initialization |
| Tier | Requests/Hour | Requests/Day |
|---|---|---|
| Free | 20 | 100 |
| Hobby | 500 | 5,000 |
| Pro | 5,000 | 50,000 |
| Enterprise | Unlimited | Unlimited |