Skip to content

Mention how to configure template_extensions in pyproject.toml #77

@jaap3

Description

@jaap3

Through some trial and error I was able to figure out that in order to configure template_extensions in pyproject.toml I have to do the following:

[tool.coverage.django_coverage_plugin]
template_extensions = 'html,htm'

I also discovered that the following doesn't work:

[tool.coverage.django_coverage_plugin]
template_extensions = [
    'html',
    'htm'
]

as an AttributeError: 'list' object has no attribute 'split' is raised by DjangoTemplatePlugin.__init__.

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