codingjoe / django-pictures

Responsive cross-browser image library using modern codes like AVIF & WebP
BSD 2-Clause "Simplified" License
248 stars 20 forks source link

Fix UnboundLocalError: cannot access local variable 'url' #178

Closed codingjoe closed 3 months ago

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (4c2636d) to head (8ab9c24).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #178 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 13 13 Lines 486 490 +4 ========================================= + Hits 486 490 +4 ``` | [Flag](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | Coverage Δ | | |---|---|---| | [celery](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `84.89% <100.00%> (+0.12%)` | :arrow_up: | | [cleanup](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [dj4.1](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [dj4.2](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [django-rq](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `84.89% <100.00%> (+0.12%)` | :arrow_up: | | [dramatiq](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `84.89% <100.00%> (+0.12%)` | :arrow_up: | | [drf](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `96.32% <100.00%> (+0.03%)` | :arrow_up: | | [macos-latest](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.57% <100.00%> (+0.09%)` | :arrow_up: | | [py3.10](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [py3.12](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [py3.8](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [py3.9](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [ubuntu-latest](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `88.36% <100.00%> (+0.09%)` | :arrow_up: | | [windows-latest](https://app.codecov.io/gh/codingjoe/django-pictures/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Johannes+Maron) | `81.76% <100.00%> (+0.23%)` | :arrow_up: | 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=Johannes+Maron#carryforward-flags-in-the-pull-request-comment) to find out more.

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