Skip to content

Simplify customization of render_variation #188

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

Merged
merged 5 commits into from
Apr 15, 2018

Conversation

marojenka
Copy link

Using class attribute that will just process the variation from the original
file one customize variation rendering without repeating code that already presented
in render_variation.

@codecov
Copy link

codecov bot commented Apr 15, 2018

Codecov Report

Merging #188 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #188      +/-   ##
==========================================
+ Coverage   96.42%   96.49%   +0.06%     
==========================================
  Files           5        5              
  Lines         252      257       +5     
==========================================
+ Hits          243      248       +5     
  Misses          9        9
Impacted Files Coverage Δ
stdimage/management/commands/rendervariations.py 100% <100%> (ø) ⬆️
stdimage/models.py 95.27% <100%> (+0.15%) ⬆️
stdimage/utils.py 96.29% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34bc1e0...335a2c5. Read the comment docs.

@marojenka
Copy link
Author

pyflakes ignores #noqa ?

@codingjoe
Copy link
Owner

pyflakes ignores #noqa ?

#noqa is a feature of flake8 not pyflakes. Anyhow, ignore it for now.

@codingjoe codingjoe merged commit 3b02bd5 into codingjoe:master Apr 15, 2018
@codingjoe
Copy link
Owner

Released in 3.1.0

Thx @marojenka 🥇

@marojenka marojenka deleted the patch-rendervariations branch April 15, 2018 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants