From 087decbd01ea6b2f86c10c33f9150052b144a63d Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Thu, 3 Oct 2024 12:10:57 +0200 Subject: [PATCH] models.reference_files - remove f-string without any placeholders --- acacore/models/reference_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acacore/models/reference_files.py b/acacore/models/reference_files.py index fd399db..469edef 100644 --- a/acacore/models/reference_files.py +++ b/acacore/models/reference_files.py @@ -58,9 +58,9 @@ class CustomSignature(BaseModel): @model_validator(mode="after") def _validate_model(self) -> Self: if not self.bof and not self.eof: - raise ValueError(f"One of bof or eof must be set.") + raise ValueError("One of bof or eof must be set.") if self.bof and self.eof and not self.operator: - raise ValueError(f"Operator must be set if both bof and eof are set.") + raise ValueError("Operator must be set if both bof and eof are set.") return self