-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove email address validation, since this would make it a requireme…
…nt to provide an email
- Loading branch information
1 parent
b210144
commit c0c821e
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -34,10 +34,6 @@ email: | |
placeholder: [email protected] | ||
help: Email address | ||
type: str | ||
validator: >- | ||
{% if not (email | regex_search('^[^@]+@[^@]+\.[^@]+$')) %} | ||
email must take a similar form to [email protected] | ||
{% endif %} | ||
full_name: | ||
placeholder: Napari Developer | ||
help: Developer name | ||
|