mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Revert back max length of author name to 50 chars
This commit is contained in:
@ -84,7 +84,7 @@ class StrictListField(fields.List):
|
|||||||
|
|
||||||
|
|
||||||
class AuthorSchema(StrictSchema):
|
class AuthorSchema(StrictSchema):
|
||||||
name = fields.Str(required=True, validate=validate.Length(min=1, max=100))
|
name = fields.Str(required=True, validate=validate.Length(min=1, max=50))
|
||||||
email = fields.Email(validate=validate.Length(min=1, max=50))
|
email = fields.Email(validate=validate.Length(min=1, max=50))
|
||||||
maintainer = fields.Bool(default=False)
|
maintainer = fields.Bool(default=False)
|
||||||
url = fields.Url(validate=validate.Length(min=1, max=255))
|
url = fields.Url(validate=validate.Length(min=1, max=255))
|
||||||
|
Reference in New Issue
Block a user