Closed antonag32 closed 1 year ago
The suggested usage for this repository as a pre-commit hook is wrong. It suggests using id: pylint: https://github.com/OCA/pylint-odoo/blob/c1335a0db590efd0390941effade29227d6b00d8/README.md?plain=1#L83-L93
id: pylint
But the only id that exists is pylint_odoo: https://github.com/OCA/pylint-odoo/blob/c1335a0db590efd0390941effade29227d6b00d8/.pre-commit-hooks.yaml#L1-L6
pylint_odoo
You are right!
In fact, our CI lint tool is using the correct way:
Yes, I noticed because I was going to point a user in #460 to the README but realized it was wrong hehe.
The suggested usage for this repository as a pre-commit hook is wrong. It suggests using
id: pylint
: https://github.com/OCA/pylint-odoo/blob/c1335a0db590efd0390941effade29227d6b00d8/README.md?plain=1#L83-L93But the only id that exists is
pylint_odoo
: https://github.com/OCA/pylint-odoo/blob/c1335a0db590efd0390941effade29227d6b00d8/.pre-commit-hooks.yaml#L1-L6