File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -317,9 +317,6 @@ func (py *Resolver) Resolve(
317317 // Check if the imported module is part of the standard library.
318318 if isStdModule (Module {Name : moduleName }) {
319319 continue MODULES_LOOP
320- } else if r .Kind () == pyProtoLibraryKind {
321- // For py_proto_library, fall back to guessing the label based on the proto_library rule name.
322- matches = py .resolveProtoFallback (cfg )
323320 } else if cfg .ValidateImportStatements () {
324321 err := fmt .Errorf (
325322 "%[1]q, line %[2]d: %[3]q is an invalid dependency: possible solutions:\n " +
@@ -410,11 +407,6 @@ func (py *Resolver) Resolve(
410407 }
411408}
412409
413- func (* Resolver ) resolveProtoFallback (c * pythonconfig.Config ) []resolve.FindResult {
414- // TODO
415- return []resolve.FindResult {}
416- }
417-
418410// addResolvedDeps adds the pre-resolved dependencies from the rule's private attributes
419411// to the provided deps set.
420412func addResolvedDeps (
You can’t perform that action at this time.
0 commit comments