{"id":21762,"library":"pylint-odoo","title":"Pylint-Odoo","description":"Pylint plugin for Odoo. Provides a set of checkers for Odoo development, enforcing best practices and detecting common issues in Odoo modules. Current version: 10.0.2. Release cadence: irregular, major versions roughly annually.","status":"active","version":"10.0.2","language":"python","source_language":"en","source_url":"https://github.com/OCA/pylint-odoo","tags":["pylint","odoo","linting","plugin"],"install":[{"cmd":"pip install pylint-odoo","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"PylintOdooChecker","correct":"from pylint_odoo import PylintOdooChecker"}],"quickstart":{"code":"import os\nimport pylint_odoo\npylint.lint.Run(['--load-plugins=pylint_odoo', 'my_module/'], do_exit=False)","lang":"python","description":"Run pylint with pylint-odoo plugin on a module."},"warnings":[{"fix":"Use 'attribute-string-redundant' or check the current list of checkers.","message":"The 'attribute-deprecated' checker was removed or renamed in newer versions.","severity":"breaking","affected_versions":">=1.4.0"},{"fix":"Remove usage of this checker; it will be ignored in future versions.","message":"The 'eval-referenced' checker is deprecated and may be removed.","severity":"deprecated","affected_versions":">=1.6.0"},{"fix":"Install pylint<3.0.0: pip install 'pylint<3.0.0'","message":"pylint-odoo requires pylint version 2.x. Using with pylint 3.x will fail.","severity":"gotcha","affected_versions":"All"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Ensure you installed pylint-odoo in the same environment: pip install pylint-odoo","cause":"The package is installed but the import path is wrong or the Python environment is different.","error":"ModuleNotFoundError: No module named 'pylint_odoo'"},{"fix":"Upgrade pylint: pip install 'pylint>=2.0.0'","cause":"Trying to use --load-plugins with an older version of pylint that doesn't support it.","error":"pylint: error: no such option: --load-plugins"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}