Skip to content

Commit

Permalink
Ignore coverage for non-existent source type
Browse files Browse the repository at this point in the history
  • Loading branch information
bschoenmaeckers committed Nov 27, 2024
1 parent d40a1f9 commit b4971b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/manager/pep621/processors/uv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class UvProcessor implements PyProjectProcessor {
// Using `packageName` as it applies PEP 508 normalization, which is
// also applied by uv when matching a source to a dependency.
const depSource = uv.sources?.[dep.packageName];
/* istanbul ignore else */
if (depSource) {
// Dependency is pinned to a specific source.
dep.depType = depTypes.uvSources;
Expand Down

0 comments on commit b4971b2

Please sign in to comment.