1
0
Fork
You've already forked python-barcode
0

Makes it easier to use both ImageWriter and SVGWriter #101

Merged
Governa merged 3 commits from fix_sizes into master 2020年12月24日 13:06:22 +01:00
Governa commented 2020年12月24日 02:45:19 +01:00 (Migrated from github.com)
Copy link

Without any parameters, both classes used to generate wildly different results.

This pull request tries to make both results look the same. Although the image size is still not the same when looking at the browser, the proportions are much closer. This can be seen by looking where in the barcode the text starts/ends.

Without any parameters, both classes used to generate wildly different results. This pull request tries to make both results look the same. Although the image size is still not the same when looking at the browser, the proportions are much closer. This can be seen by looking where in the barcode the text starts/ends.
codecov[bot] commented 2020年12月24日 02:46:00 +01:00 (Migrated from github.com)
Copy link

Codecov Report

Merging #101 (f103c83) into master (7a15b8a) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@
## master #101 +/- ##
==========================================
+ Coverage 81.82% 81.85% +0.02% 
==========================================
 Files 15 15 
 Lines 787 788 +1 
==========================================
+ Hits 644 645 +1 
 Misses 143 143 
Impacted Files Coverage Δ
barcode/writer.py 94.27% <100.00%> (+0.02%) ⬆️

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 7a15b8a...f103c83. Read the comment docs.

# [Codecov](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=h1) Report > Merging [#101](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=desc) (f103c83) into [master](https://codecov.io/gh/WhyNotHugo/python-barcode/commit/7a15b8ae1327a194634ab385e88f433f738dc8e0?el=desc) (7a15b8a) will **increase** coverage by `0.02%`. > The diff coverage is `100.00%`. [![Impacted file tree graph](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101/graphs/tree.svg?width=650&height=150&src=pr&token=5jRKlKcg2C)](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master #101 +/- ## ========================================== + Coverage 81.82% 81.85% +0.02% ========================================== Files 15 15 Lines 787 788 +1 ========================================== + Hits 644 645 +1 Misses 143 143 ``` | [Impacted Files](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [barcode/writer.py](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101/diff?src=pr&el=tree#diff-YmFyY29kZS93cml0ZXIucHk=) | `94.27% <100.00%> (+0.02%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=footer). Last update [7a15b8a...f103c83](https://codecov.io/gh/WhyNotHugo/python-barcode/pull/101?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
WhyNotHugo commented 2020年12月24日 13:06:17 +01:00 (Migrated from github.com)
Copy link

Idea makes sense and code looks perfect. Thanks!

Idea makes sense and code looks perfect. Thanks!
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
WhyNotHugo/python-barcode!101
Reference in a new issue
WhyNotHugo/python-barcode
No description provided.
Delete branch "fix_sizes"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?