Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention how to configure template_extensions in pyproject.toml #77

Closed
jaap3 opened this issue Jun 10, 2021 · 0 comments · Fixed by #81
Closed

Mention how to configure template_extensions in pyproject.toml #77

jaap3 opened this issue Jun 10, 2021 · 0 comments · Fixed by #81

Comments

@jaap3
Copy link
Contributor

jaap3 commented Jun 10, 2021

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__.

jaap3 added a commit to jaap3/django_coverage_plugin that referenced this issue Nov 4, 2021
jaap3 added a commit to jaap3/django_coverage_plugin that referenced this issue Nov 4, 2021
@nedbat nedbat closed this as completed in #81 Nov 4, 2021
nedbat pushed a commit that referenced this issue Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant