Skip to content

Allow blank email in template #1991

@treyhunner

Description

@treyhunner

I do not want to include my email address in my pyproject.toml file or in my project's source code.

I added this to my pyproject.toml, hoping that it would result in no email address being used:

[template]
name = "treyhunner"
email = ""

Instead, this sets the email address to an empty string, showing treyhunner <> at the top of files and this in pyproject.toml:

authors = [
  { name = "Trey Hunner", email = "" },
]

It would be nice to have a way to blank out my email address when using hatch new to create a new project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions