nephila / django-meta

Pluggable app to allow Django developers to quickly add meta tags and OpenGraph, Twitter, and Google Plus properties to their HTML responses.
https://django-meta.readthedocs.io
Other
477 stars 68 forks source link

Removed unnecessary "else" statements. #183

Closed thesayfulla closed 10 months ago

thesayfulla commented 10 months ago

Description

I have removed unnecessary "else" statements.

References

Fix #182

Checklist

coveralls commented 10 months ago

Coverage Status

coverage: 98.905%. remained the same when pulling 80c82f096b8df120968f12d3a89d55a92dbe11ad on thesayfulla:feature/issue-182-remove-useless-else-statements into 2148f757f5bd90a5e5a532b40787664773380e39 on nephila:develop.

codecov[bot] commented 10 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (2148f75) 97.81% compared to head (80c82f0) 97.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #183 +/- ## ======================================== Coverage 97.81% 97.81% ======================================== Files 8 8 Lines 548 548 Branches 99 99 ======================================== Hits 536 536 Misses 6 6 Partials 6 6 ``` | [Flag](https://app.codecov.io/gh/nephila/django-meta/pull/183/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nephila/django-meta/pull/183/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila) | `97.62% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/nephila/django-meta/pull/183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila) | Coverage Δ | | |---|---|---| | [meta/models.py](https://app.codecov.io/gh/nephila/django-meta/pull/183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#diff-bWV0YS9tb2RlbHMucHk=) | `94.89% <100.00%> (ø)` | | | [meta/views.py](https://app.codecov.io/gh/nephila/django-meta/pull/183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#diff-bWV0YS92aWV3cy5weQ==) | `98.23% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.