update CI config

This commit is contained in:
Jérémy Didderen 2024-01-28 14:24:18 +01:00 committed by Luc De Meyer
parent 1d9bbe19ae
commit 64ab2dc6d8
2 changed files with 4 additions and 4 deletions

View File

@ -148,7 +148,7 @@ class EbicsConfig(models.Model):
ok = False ok = False
if not ok: if not ok:
raise UserError( raise UserError(
_( _( # pylint: disable=W8120
"Order Number should comply with the following pattern:" "Order Number should comply with the following pattern:"
"\n[A-Z]{1}[A-Z0-9]{3}" "\n[A-Z]{1}[A-Z0-9]{3}"
) )

View File

@ -1,4 +1,4 @@
# Copyright 2009-2023 Noviat. # Copyright 2009-2024 Noviat.
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
import base64 import base64
@ -168,8 +168,8 @@ class EbicsFile(models.Model):
if raise_if_not_found: if raise_if_not_found:
raise UserError( raise UserError(
_( _(
"The module to process the '%(ebics_format)s' format is not installed " "The module to process the '%(ebics_format)s' format is not "
"on your system. " "installed on your system. "
"\nPlease install module '%(module)s'", "\nPlease install module '%(module)s'",
ebics_format=self.format_id.name, ebics_format=self.format_id.name,
module=module, module=module,