pandas/missing-pandas-stubs
| Pack | Severity | Fix | Versions |
|---|---|---|---|
| pandas | warning | none, edit by hand | All versions |
The project has a type checker but not pandas-stubs, so calls to pandas are not type checked. Add pandas-stubs as a development dependency.
uv add --dev pandas-stubsAdd the package to the project environment, not to xpd itself.
When xpd warns
Section titled “When xpd warns”Without pandas-stubs, a type checker doesn't check calls to pandas.
The warning appears when pandas-stubs is not installed and the project uses mypy, pyright, basedpyright, ty or pyrefly.
Diagnostic message
Section titled “Diagnostic message”The project has a type checker but not pandas-stubs, so calls to pandas are not type checked. Add pandas-stubs as a development dependency.See all rules in the pandas pack.