File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ repo_name:
3232 help : Name of the repository
3333 default : " {{ package_name | replace('_', '-') }}"
3434 validator : >-
35- {% if not (repo_name | regex_search('^[a-zA-Z][a-zA-Z_\\-0-9]+$')) %}
35+ {% if not (repo_name | regex_search('^[a-zA-Z][a-zA-Z_\\.\\ -0-9]+$')) %}
3636 {{ repo_name }} is not a valid repo name
3737 {% endif %}
3838
Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ def test_bad_repo_name(tmp_path: Path):
6464 copy_project (tmp_path , repo_name = "bad:thing" )
6565
6666
67+ def test_dots_in_package_name (tmp_path : Path ):
68+ copy_project (tmp_path , repo_name = "dots.in.name" )
69+
70+
6771def test_example_repo_updates (tmp_path : Path ):
6872 generated_path = tmp_path / "generated"
6973 example_url = (
You can’t perform that action at this time.
0 commit comments