odoo-ide/pycharm-odoo

Disable the PyUnusedLocal inspection on hook functions

jcfernandez-890825 opened this issue ยท 2 comments

On hook functions like this ones:

odoo/addons/l10n_mx_edi_extended/hooks.py

odoo/addons/product_unspsc/hooks.py

odoo/addons/l10n_mx_edi/hooks.py
image

Could you disable the PyUnusedLocal inspection ?

So pretty much on any function mentioned in the [...hook] keys inside the __manifest__.py

@jcfernandez-890825 ,

๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ‘Œ

Hi @jcfernandez-890825 ,

The new version 2024.3.2 has been released with this improvement.