OCA / pylint-odoo

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

[FIX] file-not-used: fix false positives on Windows #335

Closed johnw-bluemark closed 3 years ago

johnw-bluemark commented 3 years ago

The file-not-used check reports false positives on Windows. This is because it checks the raw strings in the manifest (which always has forward slashes for separators) against file paths (which always have back slashes for separators on Windows). This PR resolves this issue.