matheuscas / pycpfcnpj

Python module for brazilian register numbers for persons (CPF) and companies (CNPJ).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return false when there is just one digit

rodfersou opened this issue · comments

In [4]: cpfcnpj.validate('11111111111')
Out[4]: True

In [5]: cpfcnpj.validate('22222222222')
Out[5]: True

It was already implemented.

@matheuscas yeap, I did in a previous pull request #9 I think we forget to close the issue :)