diff --git a/dodo.py b/dodo.py index 6aadd328c..c09170213 100644 --- a/dodo.py +++ b/dodo.py @@ -1116,7 +1116,7 @@ def validate_project_file(name): f'Project `name` {project_name!r} does not match the directory ' f'name {name}', ) - if not all(c.islower() or c == "_" for c in project_name): + if not project_name.replace('_', '').isalnum(): complain( f'Project `name` {project_name!r} must only have lower-cased letters ' 'and underscores',