-
Notifications
You must be signed in to change notification settings - Fork 195
Adicionei municipio Boa Esperança do Norte - MT ao arquivo MunIBGE-UF51 #397
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
base: main
Are you sure you want to change the base?
Adicionei municipio Boa Esperança do Norte - MT ao arquivo MunIBGE-UF51 #397
Conversation
Olá! Estou começando com contribuições open source e utilizei o informe técnico oficial para inserir o município corretamente. Fico à disposição para ajustar o que for necessário. Obrigado pela atenção! |
Olá! Fiz a correção da tabulação conforme a estrutura do arquivo. Notei que os testes automáticos estão falhando, mas acredito que não se trata de um problema com minha alteração. Fico à disposição para qualquer ajuste. Obrigado! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Olá @FishmmansCavalcante ,
Além dos comentários que adicionei, acrescento que os testes falhando indicam que os unit tests em tests/test_utils.py precisam ser atualizados. Verifique as mensagens de erro do pipeline para mais detalhes sobre isso.
5100102 Acorizal | ||
5100102 Acorizal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Essa alteração está fora do escopo do seu PR. Sugiro que seja desfeita.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FishmmansCavalcante essa alteração não foi desfeita.
pynfe/data/MunIBGE/MunIBGE-UF51.txt
Outdated
5101852 Bom Jesus do Araguaia | ||
5101852 Bom Jesus do Araguaia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Essa alteração está fora do escopo do seu PR. Sugiro que seja desfeita.
pynfe/data/MunIBGE/MunIBGE-UF51.txt
Outdated
5108956 Nova Monte Verde | ||
5108956 Nova Monte Verde | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Essa alteração está fora do escopo do seu PR. Sugiro que seja desfeita.
pynfe/data/MunIBGE/MunIBGE-UF51.txt
Outdated
@@ -15,7 +15,8 @@ | |||
5101605 Barão de Melgaço | |||
5101704 Barra do Bugres | |||
5101803 Barra do Garças | |||
5101852 Bom Jesus do Araguaia | |||
5101852 Bom Jesus do Araguaia | |||
5108404 Boa Esperança do Norte |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Segundo o Informe Técnico 2025.001 - v.1.00 - Publicado em 18/02/2025, e o site do IBGE, o código correto do município de Boa Esperança do Norte é o 5101837
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acrescento que, para manter a ordem alfabética do arquivo, Boa Esperança do Norte
deveria vir antes de Bom Jesus do Araguaia
.
Closes #386. |
@@ -139,3 +140,4 @@ | |||
5108857 Nova Marilândia | |||
5108907 Nova Maringá | |||
5108956 Nova Monte Verde | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FishmmansCavalcante essa modificação não deveria fazer parte do seu PR.
def test_normalizar_municipio_boa_esperanca_do_norte(self): | ||
self.assertEqual(normalizar_municipio("Boa Esperança do Norte"),"BOA ESPERANCA DO NORTE") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aqui você está testando a normalização do "ç", mas esse teste não é necessário, pois isso já está coberto por este teste: https://github.com/TadaSoftware/PyNFe/blob/main/tests/test_utils.py#L62
Este pull request adiciona o município de Boa Esperança do Norte - MT ao arquivo
MunIBGE-UF51.txt
, conforme publicado no Informe Técnico 2025.001 v.1.00 do ENCAT.5108404