diff --git a/mtg_ssm/containers/indexes.py b/mtg_ssm/containers/indexes.py index 315792d..563fbbb 100644 --- a/mtg_ssm/containers/indexes.py +++ b/mtg_ssm/containers/indexes.py @@ -103,9 +103,9 @@ def load_data(self, scrydata: ScryfallDataSet) -> None: migration.migration_strategy == ScryMigrationStrategy.MERGE and migration.new_scryfall_id ): - self.migrate_old_id_to_new_id[ - migration.old_scryfall_id - ] = migration.new_scryfall_id + self.migrate_old_id_to_new_id[migration.old_scryfall_id] = ( + migration.new_scryfall_id + ) class Oracle: diff --git a/mtg_ssm/scryfall/models.py b/mtg_ssm/scryfall/models.py index 8b0a7e3..68cb237 100644 --- a/mtg_ssm/scryfall/models.py +++ b/mtg_ssm/scryfall/models.py @@ -1,4 +1,5 @@ """Scryfall object models.""" + # ruff: noqa: A003 import datetime as dt diff --git a/mtg_ssm/serialization/__init__.py b/mtg_ssm/serialization/__init__.py index 16df9b9..cf5f152 100644 --- a/mtg_ssm/serialization/__init__.py +++ b/mtg_ssm/serialization/__init__.py @@ -1,4 +1,5 @@ """Ensure that all serializers are imported to properly set up interface.""" + from . import csv, interface, xlsx __all__ = ["csv", "interface", "xlsx"] diff --git a/pyproject.toml b/pyproject.toml index f741b06..d6ab7e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,7 @@ dev = [ "black", "coverage[toml]", "doc8", + "exceptiongroup", "freezegun", "lxml", "mypy",