Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adiciona validador de tuplas de documentos #32

Merged
merged 1 commit into from
Oct 10, 2020
Merged

Adiciona validador de tuplas de documentos #32

merged 1 commit into from
Oct 10, 2020

Conversation

JoaoAPS
Copy link
Contributor

@JoaoAPS JoaoAPS commented Oct 7, 2020

Resolve a issue #17.
Eu escolhi usar a própria classe como especificador de documento, assim a função validate_docs continuará funcionando mesmo com a adição de novos documentos.

Ex.

import validate_docbr as docbr

docs = [(docbr.CPF, '90396100457'), (docbr.CNPJ, '49910753848365')]
docbr.validate_docs(docs)
# Retorna -> [True, False]

Obs.: Os testes só rodarão sem erro quando a issue #30 for resolvida.

@alvarofpp alvarofpp merged commit b258de4 into alvarofpp:master Oct 10, 2020
@JoaoAPS JoaoAPS deleted the issue#17 branch October 14, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants