Skip to content

Commit

Permalink
fix: Cite of inspiration code of validation of cadastral registry
Browse files Browse the repository at this point in the history
  • Loading branch information
JCruiz15 authored and jfaldanam committed Jun 26, 2024
1 parent 9aa099c commit 7131726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sigpac_tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ def validate_cadastral_registry(reference: str) -> None:
Given a cadastral reference, it validates if the reference is correct or not by comparing the present control characters with the calculated expected ones.
Based on the code proposed by Emil in the comments of http://el-divagante.blogspot.com/2006/11/algoritmos-y-dgitos-de-control.html
Parameters
----------
reference (str): Cadastral reference to validate
Expand Down

0 comments on commit 7131726

Please sign in to comment.