Skip to content

Commit

Permalink
Format change
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Sep 13, 2024
1 parent d453a43 commit b63086e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pyobo/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
import click
import pystow

__all__ = ["RAW_DIRECTORY", "DATABASE_DIRECTORY", "SPECIES_REMAPPING",
"VERSION_PINS"]
__all__ = ["RAW_DIRECTORY", "DATABASE_DIRECTORY", "SPECIES_REMAPPING", "VERSION_PINS"]

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -109,8 +108,7 @@
invalid_prefixes = []
for prefix, version in VERSION_PINS.items():
if not isinstance(prefix, str) or not isinstance(version, str):
logger.error(
f"The prefix:{prefix} and version:{version} name must both be strings")
logger.error(f"The prefix:{prefix} and version:{version} name must both be strings")
invalid_prefixes.append(prefix)
for prefix in invalid_prefixes:
VERSION_PINS.pop(prefix)
Expand Down

0 comments on commit b63086e

Please sign in to comment.