diff --git a/src/pyobo/constants.py b/src/pyobo/constants.py index 4eb43d55..e741a678 100644 --- a/src/pyobo/constants.py +++ b/src/pyobo/constants.py @@ -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__) @@ -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)