diff options
| author | Xavier Morel <xmo@odoo.com> | 2020-06-24 08:08:47 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-06-24 09:52:28 +0000 |
| commit | ff669b68cbf82b0666e6b629a9034f23e1499f52 (patch) | |
| tree | 501ffff3c0fe0fedfd93681958914aa1a1125358 /addons/mail/static/src | |
| parent | c250bec9ffccd48375fdce382cc4bb6e84b086f4 (diff) | |
[IMP] test_lint: disable deprecated-method
It's not super useful as we've re-enabled DeprecationWarnings though
logging, and it turns out to be a *very* expensive lint, as it more
than doubles the runtime of pylint locally:
Before:
odoo.addons.test_lint.tests.test_pylint ran 1 tests in 376.27s, 2 queries
after:
odoo.addons.test_lint.tests.test_pylint ran 1 tests in 114.05s, 2 queries
It also seems to significantly increase peak memory consumption (by
~60% though that's not a precise measurement), which can lead to
non-deterministic memory errors.
Also disable mixed-indentation since it doesn't do anything (mixed
indentation is illegal in Python 3).
closes odoo/odoo#53562
X-original-commit: 8062098d0586048a9e91543290c6ab1c8d8d7009
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/mail/static/src')
0 files changed, 0 insertions, 0 deletions
