So, it is too complex to manage from the hook all the considerations (or maybe not)
But if we missed parser something could be great be able to use a particular XML file directly and get all the checks even if it is not part of the data from manifest file
It requires a big refactoring but could be good to have it
Odoo new versions added a complicated way to get the data files to see the following example:
In fact, there are glob expressions:
And there are not only string values but tuples
So, it is too complex to manage from the hook all the considerations (or maybe not)
But if we missed parser something could be great be able to use a particular XML file directly and get all the checks even if it is not part of the data from manifest file
It requires a big refactoring but could be good to have it
Fixes related https://github.com/OCA/odoo-pre-commit-hooks/pull/54