Closed jodal closed 1 year ago
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
b3e4e4b
) compared to base (24a4c29
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Some German suppliers are known to use the variable measure check digit in the middle of the RCN as an additional product identifier digit. To support products with RCNs constructed in this way, it is necessary to be able to disable variable measure check digit verification.
This PR adds a parameter
rcn_verify_variable_measure
to all parse functions/methods that can deal with RCNs:biip.parse()
biip.gtin.Gtin.parse()
biip.gs1.GS1Message.parse{,_hri}()
The default value of
rcn_verify_variable_measure
isTrue
, to preserve existing behavior. This addition is thus backwards compatible for existing users of Biip.