diff --git a/core/dbt/deps/registry.py b/core/dbt/deps/registry.py index a1b31e3b520..f0152f1f7ef 100644 --- a/core/dbt/deps/registry.py +++ b/core/dbt/deps/registry.py @@ -126,9 +126,7 @@ def resolved(self) -> RegistryPinnedPackage: raise DependencyException(new_msg) from e available = registry.get_available_versions(self.package) - prerelease_version_specified = any( - bool(version.prerelease) for version in self.versions - ) + prerelease_version_specified = any(bool(version.prerelease) for version in self.versions) installable = semver.filter_installable( available, self.install_prerelease or prerelease_version_specified