From a289d11df1d5e0ece26bcc659957a0aa4b63e91f Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Tue, 4 Apr 2023 09:57:43 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- ebl/alignment/data_export.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ebl/alignment/data_export.py b/ebl/alignment/data_export.py index 497e70632..f3a94af64 100644 --- a/ebl/alignment/data_export.py +++ b/ebl/alignment/data_export.py @@ -54,9 +54,7 @@ def enum_mapping(enum): siglum_columns = ["provenance", "period", "type", "disambiguator"] siglum_enums = [Provenance, Period, ManuscriptType] - abbreviation_mappings = { - column_name: enum for column_name, enum in zip(siglum_columns, siglum_enums) - } + abbreviation_mappings = dict(zip(siglum_columns, siglum_enums)) chapter_signs = chapters.aggregate( [