Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: relax decimal resolution in constraint validation (#731)
* fix: consider decimal precision when validating equality constraints Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * test: add test cases to check for the equality validation considering decimal resolution Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix: add self.round_to_decimals to create_constraint_violations_message Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix: fix and modernize type annotations Signed-off-by: F.N. Claessen <felix@seita.nl> * fix(docs): update docstring with split and new parameters Signed-off-by: F.N. Claessen <felix@seita.nl> * docs: changelog entry Signed-off-by: F.N. Claessen <felix@seita.nl> --------- Signed-off-by: Victor Garcia Reolid <victor@seita.nl> Signed-off-by: F.N. Claessen <felix@seita.nl> Co-authored-by: F.N. Claessen <felix@seita.nl>
- Loading branch information
1 parent
b3f0303
commit b4b3b1b
Showing
3 changed files
with
152 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters