Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gwax committed Feb 21, 2024
1 parent 2e55cfc commit 263cacb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mtg_ssm/containers/indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions mtg_ssm/scryfall/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Scryfall object models."""

# ruff: noqa: A003

import datetime as dt
Expand Down
1 change: 1 addition & 0 deletions mtg_ssm/serialization/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Ensure that all serializers are imported to properly set up interface."""

from . import csv, interface, xlsx

__all__ = ["csv", "interface", "xlsx"]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ dev = [
"black",
"coverage[toml]",
"doc8",
"exceptiongroup",
"freezegun",
"lxml",
"mypy",
Expand Down

0 comments on commit 263cacb

Please sign in to comment.