PROJ003infoPro

pyright-config

Project should have a pyright configuration with sensible defaults.

Applies to: Project-level

Why this matters

Pyright's default settings are too strict for most projects, causing noise that discourages adoption. A well-tuned pyrightconfig.json or pyproject.toml [tool.pyright] section enables useful type checking without overwhelming beginners. stablestack recommends a balanced configuration that catches real bugs without pedantry.

Catch it before it ships

pip install stablestack # or: npx stablestackstablestack # scans your project, PROJ003 includedstablestack explain PROJ003

PROJ003 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.

False positive in your codebase? Suppress a single line with # noqa: PROJ003