-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I tend to name my projects with hyphens and the packages with underscores, like
[project]
name = 'my-package'
src
|- my_package
|- __init__.py
I don't think we should add another option, but it was surprising to me that the name
entry in the pyproject.toml
file also used the underscore name. what do we think about using the project_slug
in that spot (which replaces whitespace with hyphens) instead? not sure if that confuses the semantics of the config options too much, and we would want to put that in the help string.
not a huge deal, and i could of course have continued through the prompts to enter it myself, but i really like the shortcut mode y'all have set up, and something where i can just enter "{project_name} is any old string" and it cascades down into "{something}-is-at-least-hyphenated" -> "{package_name}_is_a_valid_python_name" would b lovely