# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1686037085 -7200
#      Tue Jun 06 09:38:05 2023 +0200
# Branch 16.0
# Node ID 5cc31bc61121b905b6764dbcb27f81de666dfcac
# Parent  9b807ed3d96710c4bd984786df6b4ab65f1728da
👕 pylint, use correct XCG website URL, use copyright sign

diff --git a/__manifest__.py b/__manifest__.py
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -1,7 +1,7 @@
 ##############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2019-2021, 2022 XCG Consulting <https://xcg-consulting.fr/>
+#    Copyright © 2019-2021, 2022 XCG Consulting <https://xcg-consulting.fr>
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
@@ -24,7 +24,7 @@
     "version": "16.0.1.0.0",
     "category": "Technical",
     "author": "XCG Consulting",
-    "website": "https://odoo.consulting/",
+    "website": "https://orbeet.io/",
     "license": "AGPL-3",
     "depends": ["base"],
     "external_dependencies": {"python": ["PyICU"]},
diff --git a/doc/autotodo.py b/doc/autotodo.py
--- a/doc/autotodo.py
+++ b/doc/autotodo.py
@@ -2,7 +2,7 @@
 ##############################################################################
 #
 #    OpenERP, Open Source Management Solution
-#    Copyright (C) 2014, 2018, 2022 XCG Consulting
+#    Copyright © 2014, 2018, 2022 XCG Consulting
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
diff --git a/doc/conf.py b/doc/conf.py
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -11,7 +11,8 @@
 import configparser
 import os
 import sys
-from importlib.metadata import PackageNotFoundError, version
+from importlib.metadata import PackageNotFoundError
+from importlib.metadata import version as import_version
 
 from odoo_scripts.config import Configuration
 
@@ -55,7 +56,7 @@
 # The full version, including alpha/beta/rc tags.
 try:
     # TEMPLATE Update with the name of the project as defined in pyproject.toml
-    release = version("odoo-addon-icuformat")
+    release = import_version("odoo-addon-icuformat")
     # The short X.Y version.
     version = ".".join(release.split(".")[:2])
 except PackageNotFoundError:
@@ -176,7 +177,7 @@
         c.read(setup_path)
         if c.has_section("odoo_scripts"):
             # reload with odoo_scripts
-            c = Configuration(os.path.dirname(setup_path))
+            c = Configuration(directory)
         else:
             c = None
     if not c:
diff --git a/hooks.py b/hooks.py
--- a/hooks.py
+++ b/hooks.py
@@ -1,7 +1,7 @@
 ##############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2021 XCG Consulting <https://odoo.consulting>
+#    Copyright © 2021 XCG Consulting <https://xcg-consulting.fr/>
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
diff --git a/icu_format.py b/icu_format.py
--- a/icu_format.py
+++ b/icu_format.py
@@ -1,7 +1,7 @@
 ##############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2019-2021 XCG Consulting <https://odoo.consulting>
+#    Copyright © 2019-2021 XCG Consulting <https://xcg-consulting.fr>
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
@@ -21,8 +21,6 @@
 import logging
 from typing import Callable, Dict, Mapping, Optional, ParamSpec, TypeVar, Union
 
-# Disable the warning as the library name is pyicu
-# pylint: disable=missing-manifest-dependency
 from icu import Formattable, ICUError, ListFormatter, Locale, MessageFormat
 
 _logger = logging.getLogger(__name__)
diff --git a/logger.py b/logger.py
--- a/logger.py
+++ b/logger.py
@@ -1,7 +1,7 @@
 ##############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2019-2021 XCG Consulting <https://odoo.consulting>
+#    Copyright © 2019-2021 XCG Consulting <https://xcg-consulting.fr>
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
diff --git a/models/__init__.py b/models/__init__.py
--- a/models/__init__.py
+++ b/models/__init__.py
@@ -1,2 +1,1 @@
-from . import base  # noqa: F401
-from . import currency  # noqa: F401
+from . import base, currency
diff --git a/models/base.py b/models/base.py
--- a/models/base.py
+++ b/models/base.py
@@ -1,7 +1,7 @@
 ##############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2021, 2022 XCG Consulting (https://xcg-consulting.fr/)
+#    Copyright © 2021, 2022 XCG Consulting (https://xcg-consulting.fr/)
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
@@ -21,8 +21,7 @@
 import logging
 from typing import Dict, Mapping, Union
 
-# Disable the warning as the library name is pyicu
-from icu import ICUError  # pylint: disable=missing-manifest-dependency
+from icu import ICUError
 
 from odoo import _, models
 
diff --git a/models/currency.py b/models/currency.py
--- a/models/currency.py
+++ b/models/currency.py
@@ -1,7 +1,7 @@
 ##############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2021, 2022 XCG Consulting <https://xcg-consulting.fr/>
+#    Copyright © 2021, 2022 XCG Consulting <https://xcg-consulting.fr/>
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
diff --git a/tests/test_icuformat.py b/tests/test_icuformat.py
--- a/tests/test_icuformat.py
+++ b/tests/test_icuformat.py
@@ -1,7 +1,7 @@
 ###############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2019, 2021, 2022 XCG Consulting (https://xcg-consulting.fr/)
+#    Copyright © 2019, 2021, 2022 XCG Consulting (https://xcg-consulting.fr/)
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as
diff --git a/tests/test_logger.py b/tests/test_logger.py
--- a/tests/test_logger.py
+++ b/tests/test_logger.py
@@ -1,7 +1,7 @@
 ###############################################################################
 #
 #    ICU Format, a module for Odoo
-#    Copyright (C) 2019, 2021, 2022 XCG Consulting (https://xcg-consulting.fr/)
+#    Copyright © 2019, 2021, 2022 XCG Consulting (https://xcg-consulting.fr/)
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU Affero General Public License as