pylint-odoo
Pylint plugin for Odoo
What it is and what it does
pylint-odoo extends Pylint with Odoo-specific linting rules that catch common mistakes and enforce Odoo development conventions. It validates manifest files, detects deprecated API usage, enforces naming conventions for computed and search methods, flags SQL injection risks, checks for proper exception handling, and validates translation usage patterns. The plugin integrates directly into Pylint's plugin system and can be used standalone or as part of a pre-commit workflow.
The package is designed for developers working on Odoo modules who want automated enforcement of OCA coding standards. It catches issues ranging from manifest format problems and missing required files to concerns like improper context overrides, unsafe external requests without timeouts, and deprecated method calls. With many distinct checks covering manifest validation, code patterns, and Odoo API usage, it serves as a guardrail for maintaining consistent, maintainable Odoo module code.
Use it for:
- Validate Odoo module manifests for required keys, allowed licenses, and correct version format before deployment
- Catch deprecated Odoo API calls and suggest modern alternatives during code review
- Enforce naming conventions for computed, inverse, and search methods in Odoo models
- Detect SQL injection vulnerabilities and unsafe external requests in module code
- Validate translation strings and ensure proper use of Odoo's translation framework
- Integrate into CI/CD pipelines to automatically check Odoo modules for OCA compliance
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Pylint plugin that adds Odoo-specific code quality checks to enforce Odoo development conventions and best practices.
Yes. The package is actively maintained, has low install friction, and provides substantial value for Odoo development teams. It covers Odoo-specific concerns that generic linters cannot catch. The AGPLv3+ license requires careful review if you plan to distribute proprietary modifications, but using it as a development tool carries no restrictions. Recommended for any team working on Odoo modules.
Install
pylint-odoo on PyPI
pip
pip install pylint-odoouv
uv add pylint-odoopoetry
poetry add pylint-odooInstalling pylint-odoo
Before you install
Low friction installation with 3 runtime dependencies (pylint, pylint-plugin-utils, dill). Active maintenance with a release 4 days ago and last commit on 2026-08-12; the project has been maintained since 2015-10-15.
License in practice
Licensed under AGPLv3+. Use in proprietary projects requires careful consideration of copyleft obligations; the license requires derivative works and modifications to be distributed under the same terms.
Quickstart
pip install pylint-odoo
pylint --load-plugins=pylint_odoo -e odoolint path/to/module
Verify before relying
- Whether all Odoo versions are supported or if specific version compatibility exists beyond the checks listed
- Performance impact when running against large Odoo module codebases
- Exact count of distinct checks provided by the plugin
Package facts
| License | APGL3 (agpl) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pylint-plugin-utils, pylint, dill |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 226,347/month — #9,201 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pylint_odoo-10.0.9-py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
odoo-test-helperProvides utilities for writing Odoo tests,…
copyleft · top 15,000 on PyPI
pylint-djangoA Pylint plugin that improves static analysis…
copyleft · top 5,000 on PyPI
pylint-pytestA Pylint plugin that suppresses false-positive…
permissive · top 15,000 on PyPI
pylint-quotesA Pylint plugin that enforces consistent use of…
permissive · top 15,000 on PyPI
manifestoo-coreParses and reasons about Odoo addon manifests,…
permissive · top 15,000 on PyPI
pylint-protobufA Pylint plugin that makes Pylint understand…
permissive · top 15,000 on PyPI
pylint-pydanticA Pylint plugin that extends Pylint's…
copyleft · top 5,000 on PyPI
pylint-per-file-ignoresA pylint plugin that lets you specify which…
permissive · top 15,000 on PyPI
pytest-odoopytest-odoo is a pytest plugin that runs Odoo…
agpl · top 15,000 on PyPI
whoolwhool is a PEP 517 and PEP 660 compliant build…
permissive · top 15,000 on PyPI