-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Validação do RENAVAM #430
Labels
Comments
Posso pegar? |
"A lógica para calcular o dígito verificador deve ser implementada, conforme descrito anteriormente.", não consegui entender qual é a lógica. É apenas verificar se há 11 digitos numéricos? |
10 tasks
LucasAlvws
added a commit
to LucasAlvws/brutils-python
that referenced
this issue
Oct 23, 2024
LucasAlvws
added a commit
to LucasAlvws/brutils-python
that referenced
this issue
Oct 23, 2024
bora! |
Issue 430 atribuida a Oleari19 🚀" |
Oleari19
added a commit
to Oleari19/brutils-python
that referenced
this issue
Feb 1, 2025
…ation of RENAVAM and its respective tests. Additionally, the appropriate documentation as required by the contribution file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seu pedido de recurso está relacionado a um problema? Por favor, descreva.
Preciso de uma função que valide se um número RENAVAM é correto. O RENAVAM é um número único para cada veículo no Brasil, e a validação é crucial para garantir que o número informado está correto e associado a um veículo.
Descreva a solução que você gostaria
is_valid_renavam
, que recebe uma string representando o RENAVAM e retornaTrue
se o número for válido eFalse
caso contrário.Descreva alternativas que você considerou
Seguir até o passo 8 do guia de contribuição.
Como parte do passo 8, criar o arquivo:
brutils-python/brutils/renavam.py
.Importar a nova função no arquivo
brutils-python/brutils/__init__.py
:E adicionar o nome da nova função na lista
__all__
do mesmo arquivobrutils-python/brutils/__init__.py
:Como parte do passo 9, criar o arquivo de teste:
brutils-python/tests/test_renavam.py
.Seguir os passos seguintes do guia de contribuição.
Contexto adicional
The text was updated successfully, but these errors were encountered: