From 5d50053dcdf51b7a19602f668ef13b15cddb35f4 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 26 Mar 2019 12:17:00 +0100 Subject: [PATCH] [FIX] account_banking_pain_base: flake8 --- account_banking_pain_base/models/res_bank.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_banking_pain_base/models/res_bank.py b/account_banking_pain_base/models/res_bank.py index efdc95903..c0d58f4ca 100644 --- a/account_banking_pain_base/models/res_bank.py +++ b/account_banking_pain_base/models/res_bank.py @@ -22,7 +22,9 @@ class ResBank(models.Model): :raise: ValidationError if the BIC doesn't respect the regex of the SEPA pain schemas. """ - invalid_banks = self.filtered(lambda r: r.bic and not BIC_REGEX.match(r.bic)) + invalid_banks = self.filtered( + lambda r: r.bic and not BIC_REGEX.match(r.bic) + ) if invalid_banks: raise ValidationError(_( "The following Bank Identifier Codes (BIC) do not respect "