From a50260381271c8069f706d70688cfe742c62807a Mon Sep 17 00:00:00 2001 From: alphabraga Date: Wed, 6 Nov 2024 20:57:11 -0300 Subject: [PATCH] nome de varialvel melhor --- brutils/ibge/uf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brutils/ibge/uf.py b/brutils/ibge/uf.py index d5518014..68d089a0 100644 --- a/brutils/ibge/uf.py +++ b/brutils/ibge/uf.py @@ -58,6 +58,6 @@ def convert_text_to_uf(state_name): # type: (str) -> str | None None """ - dct = {unidecode(i.value.upper()): i.name for i in UF} + federal_units = {unidecode(i.value.upper()): i.name for i in UF} - return dct.get(unidecode(state_name.upper()), None) + return federal_units.get(unidecode(state_name.upper()), None)