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

Configure template file extensions #60

Closed
jambonrose opened this issue Sep 5, 2018 · 3 comments
Closed

Configure template file extensions #60

jambonrose opened this issue Sep 5, 2018 · 3 comments

Comments

@jambonrose
Copy link
Collaborator

During conversation of #4, several people expressed the desire to report missing templates that do not end in .html or .htm, as some templates end in .txt or arbitrary extensions like .subject.

We should probably default to .html, .htm, and .txt (this last is used by Django emails). It should be possible for developers to configure the extensions being matched by the find_executable_files() method, so that they can add arbitrary extensions like .subject if necessary.

@alexandervlpl
Copy link

Great work on this plugin! In my project, the Django template engine is also used to generate PDFs. These templates are LaTeX files with .tex extensions. Seeing them in coverage reports would make this even more awesome.

@nedbat
Copy link
Owner

nedbat commented Jun 8, 2021

This is implemented in 07970d9

@nedbat nedbat closed this as completed Jun 8, 2021
@nedbat
Copy link
Owner

nedbat commented Jun 8, 2021

This is now released in v2.0.0: https://pypi.org/project/django-coverage-plugin/2.0.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants