--- id: pylint-pydantic version: "0.4.1" license: GPLv3 license_treatment: copyleft maintenance: aging --- # pylint-pydantic — A Pylint plugin to help Pylint understand the Pydantic License: copyleft · Maintenance: aging · Downloads: 1.4M/mo ## What it is and what it does pylint-pydantic is a Pylint plugin that teaches Pylint how to correctly analyze code using Pydantic models. Pylint normally flags Pydantic constructs—like BaseModel, Field definitions, and validators—as undefined or invalid, generating false positives that clutter lint reports. This plugin bridges that gap by making Pylint aware of Pydantic's API surface. You install it alongside Pylint and Pydantic, then activate it by passing `--load-plugins pylint_pydantic` to Pylint or configuring it in your editor settings (VSCode, for example). It supports Pydantic v2 features including model validators and works with Python 3.10 through 3.14. The plugin is small and has low install friction, requiring only Pylint, Pydantic, and pylint-plugin-utils as dependencies. Use it for: - Suppress false Pylint warnings when using Pydantic BaseModel and Field in data validation schemas. - Integrate Pydantic linting into VSCode or other IDE workflows without disabling Pylint entirely. - Maintain consistent code quality checks in projects that rely on Pydantic for API request/response validation. - Reduce noise in CI/CD lint reports by correctly recognizing Pydantic model attributes and validators. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Pylint plugin that extends Pylint's understanding of Pydantic models, reducing false positives when linting code that uses Pydantic. Yes, if you use Pydantic and Pylint together. The plugin solves a real problem—Pylint's false positives on Pydantic code—with low friction and no security issues. The GPLv3 license is a blocker only for closed-source projects. Maintenance is aging (291 days since last release), so verify compatibility with your specific Pylint and Pydantic versions before relying on it in production. ## Install pip install pylint-pydantic uv add pylint-pydantic poetry add pylint-pydantic ## Installing pylint-pydantic Before you install: Low install friction with three straightforward dependencies. Maintenance status is aging—last release was 291 days ago, though the repository remains active and the package supports current Python versions (3.10–3.14). License in practice: Licensed under GPLv3 (copyleft). Any derivative work or distribution must also be open-source under GPLv3; this is a significant constraint for proprietary projects. Quickstart: pip install pylint-pydantic pylint --load-plugins pylint_pydantic your_code.py Requires Python 3.10 or later. Pylint and Pydantic must be installed as runtime dependencies. Verify before relying: - Whether the plugin fully supports all Pydantic v2 features or if gaps remain beyond the documented model_validator support. - Current compatibility with the latest Pylint 4.x versions and whether all edge cases are handled. - Whether the 291-day release gap indicates active maintenance or dormancy. ## Package facts - License: GPLv3 (copyleft) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 1.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags pylint pydantic plugin, pydantic linting support, pylint false positives pydantic, code quality pydantic models, pylint basemodel integration, pydantic type checking lint, linting, pydantic, code-quality [View on SkillFed](https://skillfed.io/packages/pylint-pydantic) · [View on PyPI](https://pypi.org/project/pylint-pydantic/)