Skip to content

Commit

Permalink
models.reference_files - remove f-string without any placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Oct 3, 2024
1 parent 197f951 commit 087decb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acacore/models/reference_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 087decb

Please sign in to comment.