File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,12 @@ Configuration
72
72
~~~~~~~~~~~~~
73
73
74
74
The Django template plugin uses some existing settings from your
75
- .coveragerc file. The ``source= ``, ``include= ``, and ``omit= `` options
75
+ `` .coveragerc `` file. The ``source= ``, ``include= ``, and ``omit= `` options
76
76
control what template files are included in the report.
77
77
78
78
The plugin can find unused template and include them in your results. By
79
79
default, it will look for files in your templates directory with an extension
80
- of .html, .htm, or .txt. You can configure it to look for a different set of
80
+ of `` .html ``, `` .htm `` , or `` .txt `` . You can configure it to look for a different set of
81
81
extensions if you like::
82
82
83
83
[run]
@@ -86,6 +86,15 @@ extensions if you like::
86
86
[django_coverage_plugin]
87
87
template_extensions = html, txt, tex, email
88
88
89
+ If you use ``pyproject.toml `` for tool configuration use::
90
+
91
+ [tool.coverage.run]
92
+ plugins = [
93
+ 'django_coverage_plugin',
94
+ ]
95
+
96
+ [tool.coverage.django_coverage_plugin]
97
+ template_extensions = 'html, txt, tex, email'
89
98
90
99
Caveats
91
100
~~~~~~~
You can’t perform that action at this time.
0 commit comments