Arrumar formatação de strings em Placa de Carro
⚠️ Alguns exemplos estão com 6 caracteres ao invés de 7:
get_format_license_plate
from brutils import get_format_license_plate
>>> print(get_format_license_plate("ABC123"))
"None"
>>> print(get_format_license_plate("abc123"))
"None"
convert_license_plate_to_mercosul
from brutils import convert_license_plate_to_mercosul
>>> print(convert_license_plate_to_mercosul("ABC123"))
"None"
>>> print(convert_license_plate_to_mercosul("abc123"))
"None"
remove_symbols_license_plate
não retorna erros, mas está com formatação incorreta
from brutils import remove_symbols_license_plate
>>> remove_symbols_license_plate("ABC-123")
"ABC123"
>>> remove_symbols_license_plate("abc123")
"abc123"
Comportamento esperado
get_format_license_plate
from brutils import get_format_license_plate
>>> print(get_format_license_plate("ABC1234"))
"LLLNNNN"
>>> print(get_format_license_plate("abc1234"))
"LLLNNNN"
convert_license_plate_to_mercosul
from brutils import convert_license_plate_to_mercosul
>>> print(convert_license_plate_to_mercosul("ABC1234"))
"ABC1C34"
>>> print(convert_license_plate_to_mercosul("abc1234"))
"ABC1C34"
remove_symbols_license_plate
não retorna erros, mas está com formatação incorreta
from brutils import remove_symbols_license_plate
>>> remove_symbols_license_plate("ABC-1234")
"ABC1234"
>>> remove_symbols_license_plate("abc1234")
"abc1234"
Desktop:
- Sistema Operacional: Linux Mint 22.3
- Versão do brutils: 2.5.0
bora
🇧🇷 Português ✅ Issue #765 atribuída a @thepabloaguilar. Verifique o guia de contribuição para instruções sobre como submeter sua Pull Request.
🇬🇧 English ✅ Issue #765 assigned to @thepabloaguilar. Check the contributing guide for instructions on submitting your Pull Request.
📌 Esta mensagem está tanto em português quanto em inglês (mais abaixo) — assim todo mundo consegue acompanhar! 📌 This message is in both Portuguese and English (further down) — so everyone can follow along!
🇧🇷 Português
👋 Olá!
Esta issue está obsoleta porque ficou aberta por 45 dias sem atividade. Remova o rótulo de stale para evitar o fechamento automático em mais 15 dias.
🇬🇧 English
Hey there! 👋
This issue is stale because it has been open 45 days with no activity. Remove the stale label to avoid automatic closure in another 15 days.
📌 Esta mensagem está tanto em português quanto em inglês (mais abaixo) — assim todo mundo consegue acompanhar! 📌 This message is in both Portuguese and English (further down) — so everyone can follow along!
🇧🇷 Português
👋 Olá!
Sua issue foi fechada automaticamente por inatividade.
📅 Linha do tempo:
- Marcada como inativa após 45 dias sem atividade
- Fechada após mais 15 dias sem resposta
💡 Próximos passos:
- Se isso ainda for relevante, reabra e forneça uma atualização
- Considere adicionar mais detalhes ou contexto, se necessário
- Sinta-se à vontade para criar uma nova issue se a situação tiver mudado
Obrigado pela sua contribuição! 🙏
🇬🇧 English
Hey there! 👋
Your issue was automatically closed due to inactivity.
📅 Timeline:
- Marked as stale after 45 days of inactivity
- Closed after another 15 days without response
💡 Next steps:
- If this is still relevant, please reopen and provide an update
- Consider adding more details or context if needed
- Feel free to create a new issue if the situation has changed
Thanks for your contribution! 🙏
📌 Esta mensagem está tanto em português quanto em inglês (mais abaixo) — assim todo mundo consegue acompanhar! 📌 This message is in both Portuguese and English (further down) — so everyone can follow along!
🇧🇷 Português
👋 Olá!
Esta issue está obsoleta porque ficou aberta por 45 dias sem atividade. Remova o rótulo de stale para evitar o fechamento automático em mais 15 dias.
🇬🇧 English
Hey there! 👋
This issue is stale because it has been open 45 days with no activity. Remove the stale label to avoid automatic closure in another 15 days.
📌 Esta mensagem está tanto em português quanto em inglês (mais abaixo) — assim todo mundo consegue acompanhar! 📌 This message is in both Portuguese and English (further down) — so everyone can follow along!
🇧🇷 Português
👋 Olá!
Esta issue está obsoleta porque ficou aberta por 45 dias sem atividade. Remova o rótulo de stale para evitar o fechamento automático em mais 15 dias.
🇬🇧 English
Hey there! 👋
This issue is stale because it has been open 45 days with no activity. Remove the stale label to avoid automatic closure in another 15 days.
📌 Esta mensagem está tanto em português quanto em inglês (mais abaixo) — assim todo mundo consegue acompanhar! 📌 This message is in both Portuguese and English (further down) — so everyone can follow along!
🇧🇷 Português
👋 Olá!
Sua issue foi fechada automaticamente por inatividade.
📅 Linha do tempo:
- Marcada como inativa após 45 dias sem atividade
- Fechada após mais 15 dias sem resposta
💡 Próximos passos:
- Se isso ainda for relevante, reabra e forneça uma atualização
- Considere adicionar mais detalhes ou contexto, se necessário
- Sinta-se à vontade para criar uma nova issue se a situação tiver mudado
Obrigado pela sua contribuição! 🙏
🇬🇧 English
Hey there! 👋
Your issue was automatically closed due to inactivity.
📅 Timeline:
- Marked as stale after 45 days of inactivity
- Closed after another 15 days without response
💡 Next steps:
- If this is still relevant, please reopen and provide an update
- Consider adding more details or context if needed
- Feel free to create a new issue if the situation has changed
Thanks for your contribution! 🙏
@niltonpimentel02 consegue reabrir a issue? O PR ainda está em aberto