From 8cf6643c7b1f08a6dd132ef5070666bc51fbc8a4 Mon Sep 17 00:00:00 2001 From: Jorge Pinna Puissant Date: Wed, 2 Mar 2022 07:27:46 +0000 Subject: [PATCH] [IMP] test_lint: don't check generated code Part-of: odoo/odoo#85569 --- odoo/addons/test_lint/tests/test_eslint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/odoo/addons/test_lint/tests/test_eslint.py b/odoo/addons/test_lint/tests/test_eslint.py index fdeb1985024..eb20651b970 100644 --- a/odoo/addons/test_lint/tests/test_eslint.py +++ b/odoo/addons/test_lint/tests/test_eslint.py @@ -28,6 +28,7 @@ class TestESLint(lint_case.LintCase): files_to_check = [ p for p in self.iter_module_files('**/static/**/*.js') if not re.match('.*/libs?/.*', p) # don't check libraries + if not re.match('.*/o_spreadsheet/o_spreadsheet.js', p) # don't check generated code ] eslintrc_path = get_resource_path('test_lint', 'tests', 'eslintrc')