Skip to content

Default name should refer to pyproject.toml.project.name #685

@zerothi

Description

@zerothi

This applies to the pyproject.toml integration.

The tool.towncrier.package field defaults to "". However, when towncrier is defined in a pyproject.toml file, wouldn't it make sense it if picked up the project.name field?

[project]
name = "sisl"

[tool.towncrier]
#package = "sisl"
#name = "sisl"

I need to uncomment one of the above two to get the correct name.

Seems redundant to double annotate it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions