OCA / pylint-odoo

Odoo plugin for Pylint
http://www.pylint.org
143 stars 168 forks source link

Wrong hook example in README #462

Closed antonag32 closed 1 year ago

antonag32 commented 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

But the only id that exists is pylint_odoo: https://github.com/OCA/pylint-odoo/blob/c1335a0db590efd0390941effade29227d6b00d8/.pre-commit-hooks.yaml#L1-L6

moylop260 commented 1 year ago

You are right!

In fact, our CI lint tool is using the correct way:

antonag32 commented 1 year ago

Yes, I noticed because I was going to point a user in #460 to the README but realized it was wrong hehe.