From 46088c69fb0e19ab3eadb0001ff29dee30106c3c Mon Sep 17 00:00:00 2001 From: psugne Date: Thu, 10 Oct 2024 16:10:39 +0300 Subject: [PATCH] [IMP] pre-commit adjustments --- base_multi_image/README.rst | 2 +- base_multi_image/hooks.py | 2 +- base_multi_image/readme/CONTRIBUTORS.md | 2 +- base_multi_image/static/description/index.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/base_multi_image/README.rst b/base_multi_image/README.rst index b1337a42126..b5a5d476b0f 100644 --- a/base_multi_image/README.rst +++ b/base_multi_image/README.rst @@ -156,7 +156,7 @@ Contributors - Shepilov Vladislav - `Greenice `__: - Fernando La Chica -- Ugne Sinkeviciene +- Ugnė Sinkevičienė Other credits ------------- diff --git a/base_multi_image/hooks.py b/base_multi_image/hooks.py index a120c35ade1..082c1c810c7 100644 --- a/base_multi_image/hooks.py +++ b/base_multi_image/hooks.py @@ -29,7 +29,7 @@ def post_init_hook_for_submodules(cr, model, field): with cr.savepoint(): column_exists = table_has_column(cr, table, field) if column_exists: - cr.execute("SELECT id FROM %(table)s WHERE %(field)s IS NOT NULL") # pylint: disable=sql-injection + cr.execute("SELECT id FROM %(table)s WHERE %(field)s IS NOT NULL") else: cr.execute( """ diff --git a/base_multi_image/readme/CONTRIBUTORS.md b/base_multi_image/readme/CONTRIBUTORS.md index 69f7094259d..f03f498cecc 100644 --- a/base_multi_image/readme/CONTRIBUTORS.md +++ b/base_multi_image/readme/CONTRIBUTORS.md @@ -6,4 +6,4 @@ - Shepilov Vladislav \<\> - [Greenice](https://www.greenice.com): - Fernando La Chica \<\> -- Ugne Sinkeviciene \<\> +- Ugnė Sinkevičienė \<\> diff --git a/base_multi_image/static/description/index.html b/base_multi_image/static/description/index.html index 450a93b13df..00226862934 100644 --- a/base_multi_image/static/description/index.html +++ b/base_multi_image/static/description/index.html @@ -505,7 +505,7 @@

Contributors

  • Shepilov Vladislav <shepilov.v@protonmail.com>
  • Greenice:
  • Fernando La Chica <fernandolachica@gmail.com>
  • -
  • Ugne Sinkeviciene <ugne@versada.eu>
  • +
  • Ugnė Sinkevičienė <ugne@versada.eu>