<commit_before># License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

xmlid_renames = [
    ("l10n_es_irnr.tax_group_retenciones_24", "l10n_es_irnr.tax_group_irnr_no_ue"),
    ("l10n_es_irnr.tax_group_retenciones_19_irnr", "l10n_es_irnr.tax_group_irnr_ue",),
]


@openupgrade.migrate()
def migrate(env, version):
    openupgrade.rename_xmlids(env.cr, xmlid_renames)
<commit_msg>[IMP] l10n_es_irnr: black, isort, prettier<commit_after># License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

xmlid_renames = [
    ("l10n_es_irnr.tax_group_retenciones_24", "l10n_es_irnr.tax_group_irnr_no_ue"),
    (
        "l10n_es_irnr.tax_group_retenciones_19_irnr",
        "l10n_es_irnr.tax_group_irnr_ue",
    ),
]


@openupgrade.migrate()
def migrate(env, version):
    openupgrade.rename_xmlids(env.cr, xmlid_renames)

{'fraction_non_alphanumeric': 0.12322791712104689, 'fraction_numerical': 0.03271537622682661, 'mean_word_length': 5.51063829787234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7481708', 'n_tokens_mistral': 414, 'n_tokens_neox': 393, 'n_words': 46}