Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
allow uppercase in package name
  • Loading branch information
fdiblen committed Aug 28, 2024
commit d9a805c8a7e9e53b708833434dfe8088179d018f
2 changes: 1 addition & 1 deletion copier/questions/essential.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package_name:
placeholder: my_python_package
help: Enter the name of the Python package.
validator: >-
{% if not (package_name | regex_search('^[a-z][a-z0-9\_]+$')) %}
{% if not (package_name | regex_search('^[A-Za-z][A-Za-z0-9\_]+$')) %}
Package name must start with a letter, followed one or more letters, digits or underscores all lowercase
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Package name must start with a letter, followed one or more letters, digits or underscores all lowercase
Package name must start with a letter, followed one or more letters, digits or underscores

{% endif %}
version:
Expand Down