Browse Source

Global pylint cleanup

pull/1382/head
Simone Orsi 6 years ago
committed by Stéphane Bidoul (ACSONE)
parent
commit
003a9443a9
No known key found for this signature in database GPG Key ID: BCAB2555446B5B92
  1. 1
      module_auto_update/addon_hash.py
  2. 1
      module_auto_update/migrations/10.0.2.0.0/pre-migrate.py
  3. 1
      module_auto_update/models/module.py
  4. 1
      module_auto_update/models/module_deprecated.py
  5. 2
      module_auto_update/tests/sample_module/static/src/some.js
  6. 1
      module_auto_update/tests/test_addon_hash.py
  7. 1
      module_auto_update/tests/test_module.py
  8. 3
      module_auto_update/tests/test_module_deprecated.py

1
module_auto_update/addon_hash.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2018 ACSONE SA/NV. # Copyright 2018 ACSONE SA/NV.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

1
module_auto_update/migrations/10.0.2.0.0/pre-migrate.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Tecnativa - Jairo Llopis # Copyright 2018 Tecnativa - Jairo Llopis
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
import logging import logging

1
module_auto_update/models/module.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 LasLabs Inc. # Copyright 2017 LasLabs Inc.
# Copyright 2018 ACSONE SA/NV. # Copyright 2018 ACSONE SA/NV.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

1
module_auto_update/models/module_deprecated.py

@ -1,5 +1,6 @@
# Copyright 2017 LasLabs Inc. # Copyright 2017 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
# pylint: disable=consider-merging-classes-inherited
from odoo import api, fields, models from odoo import api, fields, models

2
module_auto_update/tests/sample_module/static/src/some.js

@ -1 +1 @@
/* javascript */
/* Javascript */

1
module_auto_update/tests/test_addon_hash.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2018 ACSONE SA/NV. # Copyright 2018 ACSONE SA/NV.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

1
module_auto_update/tests/test_module.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 LasLabs Inc. # Copyright 2017 LasLabs Inc.
# Copyright 2018 ACSONE SA/NV. # Copyright 2018 ACSONE SA/NV.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

3
module_auto_update/tests/test_module_deprecated.py

@ -9,8 +9,7 @@ from odoo.modules import get_module_path
from odoo.tests.common import TransactionCase from odoo.tests.common import TransactionCase
from odoo.tools import mute_logger from odoo.tools import mute_logger
from odoo.addons.module_auto_update.addon_hash import addon_hash
from .. addon_hash import addon_hash
from ..models.module_deprecated import PARAM_DEPRECATED from ..models.module_deprecated import PARAM_DEPRECATED

Loading…
Cancel
Save