fix ruff error

This commit is contained in:
Lincoln Stein 2023-12-11 23:04:18 -05:00
parent b0cfa58526
commit 2fbe3a3104

View File

@ -56,7 +56,7 @@ class MigrateModelYamlToDb:
"""Fetch the models.yaml DictConfig for this installation."""
yaml_path = self.config.model_conf_path
omegaconf = OmegaConf.load(yaml_path)
assert isinstance(omegaconf,DictConfig)
assert isinstance(omegaconf, DictConfig)
return omegaconf
def migrate(self) -> None: