Vauxoo / pylint-odoo

1 stars 4 forks source link

[IMP] file-not-used: Ignore unused files into the migrations directory #161

Closed luisg123v closed 6 years ago

luisg123v commented 6 years ago

If there are data files into the "migrations" directory, e.g. XML/CSV, they are probably intended to be used by the migration script, hence they won't be referenced from the manifest.

This commit causes the lint to ignore files located into the "migrations" directory.

Closes https://github.com/OCA/pylint-odoo/issues/212

This is a cherry-pick of https://github.com/OCA/pylint-odoo/commit/a827027a939e20ed5591353216d163f08c88a930

luisg123v commented 6 years ago

@moylop260 Could you merge this, please?