Skip to content

Commit 6f80d56

Browse files
Add link validator algorithm
1 parent 9cd8abe commit 6f80d56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/validators/inn.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
def inn(value: str, /):
88
"""Return whether or not given value is a valid russian individual tax number.
99
10+
This validator is algorithm [1].
11+
12+
[1]: https://ru.wikipedia.org/wiki/Идентификационный_номер_налогоплательщика
13+
1014
Examples:
1115
>>> inn('7736050003')
1216
# Output: True

0 commit comments

Comments
 (0)