Skip to content

Commit

Permalink
Remove email address validation, since this would make it a requireme…
Browse files Browse the repository at this point in the history
…nt to provide an email
  • Loading branch information
GenevieveBuckley authored and jni committed Jul 11, 2024
1 parent b210144 commit c0c821e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugin_name:
help: The name of your plugin
type: str
validator: >-
{% if not (plugin_name | regex_search("^[a-z0-9\-]+$")) %}
{% if not (plugin_name | regex_search('^[a-z][a-z0-9\-]+$')) %}
plugin_name must be lowercase, no spaces, and may contain hyphens.
{% endif %}
display_name:
Expand All @@ -19,7 +19,7 @@ module_name:
help: Plugin module name
type: str
validator: >-
{% if not (module_name | regex_search("^[a-z0-9_]+$")) %}
{% if not (module_name | regex_search("^[a-z][_a-z0-9]+$")) %}
module_name must be lowercase, and may contain underscores
{% endif %}
short_description:
Expand All @@ -34,10 +34,6 @@ email:
placeholder: yourname@example.com
help: Email address
type: str
validator: >-
{% if not (email | regex_search('^[^@]+@[^@]+\.[^@]+$')) %}
email must take a similar form to yourname@example.com
{% endif %}
full_name:
placeholder: Napari Developer
help: Developer name
Expand Down

0 comments on commit c0c821e

Please sign in to comment.