Ran
|
Files
9
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/owais/django-webpack-loader/commit/<a class=hub.com/jazzband/django-webpack-loader/commit/15dc8cab1f5d729948e115971d26f917992c9f49">15dc8cab1<a href="https://github.com/jazzband/django-webpack-loader/commit/15dc8cab1f5d729948e115971d26f917992c9f49">">Derive exceptions from Exception. Per https://docs.python.org/3/library/exceptions.html: &gt; programmers are encouraged to derive new exceptions from the Exception &gt; class or one of its subclasses, and not from BaseException. Specifically deriving from BaseException prevents Jinja2 from handling errors and Django from displaying the debug page when the webpack build fails, because Jinja2 catches Exception (this is the logical behavior): https://github.com/mitsuhiko/jinja2/blob/</a><a class="double-link" href="https://github.com/owais/django-webpack-loader/commit/<a class="double-link" href="https://github.com/jazzband/django-webpack-loader/commit/5b498453b5898257b2287f14ef6c363799f1405a">5b498453b</a>">5b498453b</a><a href="https://github.com/owais/django-webpack-loader/commit/15dc8cab1f5d729948e115971d26f917992c9f49">/jinja2/environment.py#L1009
107 of 107 relevant lines covered (100.0%)
1.0 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|