jodal / biip

📦 Biip interprets the data in barcodes.
https://biip.readthedocs.io
Apache License 2.0
46 stars 4 forks source link

Add `company_prefix` fields to GLN, GTIN, and SSCC classes #174

Closed jodal closed 1 year ago

jodal commented 1 year ago

This is the final piece building upon PR #172. This PR adds and sets a company_prefix field on the Gtin, Gln, and Sscc classes.

Fixes #160

codecov[bot] commented 1 year ago

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (c1bc40f) compared to base (2183e75). Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head c1bc40f differs from pull request most recent head 896d5b8. Consider uploading reports for the commit 896d5b8 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #174 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 18 18 Lines 911 916 +5 Branches 147 147 ========================================= + Hits 911 916 +5 ``` | [Impacted Files](https://codecov.io/gh/jodal/biip/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal) | Coverage Δ | | |---|---|---| | [src/biip/\_\_init\_\_.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvX19pbml0X18ucHk=) | `100.00% <ø> (ø)` | | | [src/biip/gs1/\_\_init\_\_.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvZ3MxL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [src/biip/gs1/\_element\_strings.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvZ3MxL19lbGVtZW50X3N0cmluZ3MucHk=) | `100.00% <ø> (ø)` | | | [src/biip/gtin/\_\_init\_\_.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvZ3Rpbi9fX2luaXRfXy5weQ==) | `100.00% <ø> (ø)` | | | [src/biip/gln.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvZ2xuLnB5) | `100.00% <100.00%> (ø)` | | | [src/biip/gtin/\_gtin.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvZ3Rpbi9fZ3Rpbi5weQ==) | `100.00% <100.00%> (ø)` | | | [src/biip/sscc.py](https://codecov.io/gh/jodal/biip/pull/174/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal#diff-c3JjL2JpaXAvc3NjYy5weQ==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stein+Magnus+Jodal)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.