pylint-pydantic
A Pylint plugin to help Pylint understand the Pydantic
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Pylint and Pydantic must be installed as runtime dependencies.
- Low install friction with three straightforward dependencies.
License · maintenance · safety
GPLv3 (copyleft) — Licensed under GPLv3 (copyleft). Any derivative work or distribution must also be open-source under GPLv3; this is a significant constraint for proprietary projects.
last release 2025-10-27 (291 days) · last repo commit 2025-10-27 · 19 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,351,698 downloads/mo, #4,014 on PyPI
Alternatives
Verify before relying
pip install pylint-pydantic
pylint --load-plugins pylint_pydantic your_code.py- 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.
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 on this page. Verify before relying on it.
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
pylint-pydantic on PyPI
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).
Requires Python 3.10 or later. Pylint and Pydantic must be installed as runtime dependencies.
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
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 the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespylintpydanticpylint-plugin-utils |
| Maintenance | Aging 291 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,351,698 / month, #4,014 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: ConsoleIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Quality Assurance |
Evidence: pylint_pydantic-0.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pylint pydantic plugin”
- pylint-pydanticA Pylint plugin that extends Pylint's understanding of Pydantic…
- pylint-plugin-utilsProvides utilities and helper functions for building Pylint plugins,…
- pylint-flask-sqlalchemyA Pylint plugin that suppresses false-positive no-member errors when…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also prime-pydantic-config · pylint-celery · pylint-flask-sqlalchemy · pylint-django · pylint-pytest · pylint-exit · pylint-protobuf · pylint-quotes · pylint-odoo · pylint-per-file-ignores