Skip to content

Commit

Permalink
tiny typo fix for min length validator's error string
Browse files Browse the repository at this point in the history
  • Loading branch information
ckutlu authored Nov 29, 2023
1 parent 1e2f6f9 commit c7212bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attr/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def __call__(self, inst, attr, value):
"""
if len(value) < self.min_length:
raise ValueError(
"Length of '{name}' must be => {min}: {len}".format(
"Length of '{name}' must be >= {min}: {len}".format(
name=attr.name, min=self.min_length, len=len(value)
)
)
Expand Down

0 comments on commit c7212bd

Please sign in to comment.