Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

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 committed Jun 14, 2024
1 parent a41d484 commit 8a7ec95
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 8a7ec95

Please sign in to comment.