OCA / odoo-pre-commit-hooks

Linters of Odoo addons that complement pylint-odoo
GNU Affero General Public License v3.0
9 stars 11 forks source link

Mechanism to explicitly select enabled checks #9

Closed sbidoul closed 1 year ago

sbidoul commented 1 year ago

For OCA, it is better to have a mechanism to explicitly select checks that are enabled. This way we enable new checks when creating new branches. And we can still upgrade the tool to get bug fixes on older branches without breaking CI due to new checks.

moylop260 commented 1 year ago

Hi @sbidoul

Thank you for the issue

I have added the "enable" feature

I still need to update the README but you can see it in the following unittests:

moylop260 commented 1 year ago

@sbidoul

Let me know if it is enough or if we need to do something else here

sbidoul commented 1 year ago

Looks good yes, thanks!