Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 970cae8cabc3864bc8c5c4c98c766b5d1cb5b893
  • Loading branch information
asorotsky authored and intellij-monorepo-bot committed Jan 31, 2025
1 parent 4ec869d commit 0d4af10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/src/com/jetbrains/python/sdk/uv/UvPackageManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ internal class UvPackageManager(project: Project, sdk: Sdk, private val uv: UvLo
return Result.failure(it)
}

// FIXME: refactor command return value, it's not used
return Result.success(Unit)
}

Expand All @@ -42,7 +41,6 @@ internal class UvPackageManager(project: Project, sdk: Sdk, private val uv: UvLo
return Result.failure(it)
}

// FIXME: refactor command return value, it's not used
return Result.success(Unit)
}

Expand All @@ -58,12 +56,11 @@ internal class UvPackageManager(project: Project, sdk: Sdk, private val uv: UvLo
return Result.failure(it)
}

// FIXME: refactor command return value, it's not used
return Result.success(Unit)
}

override suspend fun reloadPackagesCommand(): Result<List<PythonPackage>> {
// ignoring errors as handling outdated packages is pretty new option
// ignoring errors as handling outdated packages is a pretty new option
uv.listOutdatedPackages().onSuccess {
outdatedPackages = it.associateBy { it.name }
}
Expand Down

0 comments on commit 0d4af10

Please sign in to comment.