Skip to content

allow specifying fragment types to consider as "valid" for towncrier check #617

@bentheiii

Description

@bentheiii

Hello, it would be helpful to us to be able to specify within towncrier check which fragment types it should look for or not look for.

Background on why this would be useful: We have automatic processes that create a newsfragment of a special type (dependency_bump) whenever a version of one of dependency libraries is updated. Even though these are real changes that we'd like to be noted in the changelog, we'd like towncrier check to assert that there are real human-readable newsfragments that explain the actual change, if any.

I propose an additional, optional key to configured sections ([[tool.towncrier.type]]): ignore_on_check. if this key is configured to True, towncrier check will ignore all newsfragments of this type

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