diff --git a/database_cleanup/__init__.py b/database_cleanup/__init__.py index 851a78463..b19ab1b09 100644 --- a/database_cleanup/__init__.py +++ b/database_cleanup/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/database_cleanup/__openerp__.py b/database_cleanup/__openerp__.py index 192483da0..b2737fff7 100644 --- a/database_cleanup/__openerp__.py +++ b/database_cleanup/__openerp__.py @@ -1,5 +1,4 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Database cleanup', diff --git a/database_cleanup/identifier_adapter.py b/database_cleanup/identifier_adapter.py index 008044689..a10dc2e00 100644 --- a/database_cleanup/identifier_adapter.py +++ b/database_cleanup/identifier_adapter.py @@ -1,5 +1,4 @@ -# -*- coding: utf-8 -*- -# © 2016 Therp BV +# Copyright 2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from psycopg2.extensions import ISQLQuote diff --git a/database_cleanup/models/create_indexes.py b/database_cleanup/models/create_indexes.py index 8aa072f68..9ff571522 100644 --- a/database_cleanup/models/create_indexes.py +++ b/database_cleanup/models/create_indexes.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2017 Therp BV +# Copyright 2017 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from ..identifier_adapter import IdentifierAdapter from odoo import api, fields, models diff --git a/database_cleanup/models/purge_columns.py b/database_cleanup/models/purge_columns.py index 6050ae2dd..c3c248d6b 100644 --- a/database_cleanup/models/purge_columns.py +++ b/database_cleanup/models/purge_columns.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from odoo import _, api, fields, models from odoo.exceptions import UserError from ..identifier_adapter import IdentifierAdapter diff --git a/database_cleanup/models/purge_data.py b/database_cleanup/models/purge_data.py index f7ca49dee..efe224a59 100644 --- a/database_cleanup/models/purge_data.py +++ b/database_cleanup/models/purge_data.py @@ -1,5 +1,4 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import _, api, fields, models from odoo.exceptions import UserError diff --git a/database_cleanup/models/purge_menus.py b/database_cleanup/models/purge_menus.py index bd6f3c8cb..b74366161 100644 --- a/database_cleanup/models/purge_menus.py +++ b/database_cleanup/models/purge_menus.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from odoo import _, api, fields, models from odoo.exceptions import UserError diff --git a/database_cleanup/models/purge_models.py b/database_cleanup/models/purge_models.py index 36e9e2812..42c96d80b 100644 --- a/database_cleanup/models/purge_models.py +++ b/database_cleanup/models/purge_models.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from odoo import _, api, models, fields from odoo.exceptions import UserError from odoo.addons.base.ir.ir_model import MODULE_UNINSTALL_FLAG diff --git a/database_cleanup/models/purge_modules.py b/database_cleanup/models/purge_modules.py index 40776f68e..ed8c03a0a 100644 --- a/database_cleanup/models/purge_modules.py +++ b/database_cleanup/models/purge_modules.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from odoo import _, api, fields, models from odoo.exceptions import UserError from odoo.modules.module import get_module_path diff --git a/database_cleanup/models/purge_properties.py b/database_cleanup/models/purge_properties.py index 7adbf440b..9cd32d3f0 100644 --- a/database_cleanup/models/purge_properties.py +++ b/database_cleanup/models/purge_properties.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2017 Therp BV +# Copyright 2017 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from odoo import api, models, fields REASON_DUPLICATE = 1 REASON_DEFAULT = 2 diff --git a/database_cleanup/models/purge_tables.py b/database_cleanup/models/purge_tables.py index 808c42490..275956f83 100644 --- a/database_cleanup/models/purge_tables.py +++ b/database_cleanup/models/purge_tables.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited from odoo import api, fields, models, _ from odoo.exceptions import UserError from ..identifier_adapter import IdentifierAdapter diff --git a/database_cleanup/models/purge_wizard.py b/database_cleanup/models/purge_wizard.py index d678645b4..b14af48e8 100644 --- a/database_cleanup/models/purge_wizard.py +++ b/database_cleanup/models/purge_wizard.py @@ -1,6 +1,7 @@ -# -*- coding: utf-8 -*- -# © 2014-2016 Therp BV +# Copyright 2014-2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# pylint: disable=consider-merging-classes-inherited + import logging from odoo import _, api, fields, models from odoo.exceptions import AccessDenied diff --git a/database_cleanup/tests/__init__.py b/database_cleanup/tests/__init__.py index 265497c37..298a513e2 100644 --- a/database_cleanup/tests/__init__.py +++ b/database_cleanup/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- -# © 2016 Therp BV +# Copyright 2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_database_cleanup diff --git a/database_cleanup/tests/test_database_cleanup.py b/database_cleanup/tests/test_database_cleanup.py index 75265ddb9..28b817a54 100644 --- a/database_cleanup/tests/test_database_cleanup.py +++ b/database_cleanup/tests/test_database_cleanup.py @@ -1,5 +1,4 @@ -# -*- coding: utf-8 -*- -# © 2016 Therp BV +# Copyright 2016 Therp BV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from psycopg2 import ProgrammingError from odoo.modules.registry import Registry