Skip to content

Commit 5a5a563

Browse files
committed
Fix failing test
1 parent 8da48cb commit 5a5a563

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gazelle/python/parser.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func (p *python3Parser) parse(pyFilenames *treeset.Set) (*treeset.Set, map[strin
138138

139139
mainModules := make(map[string]*treeset.Set, len(allRes))
140140
allAnnotations := new(annotations)
141+
allAnnotations.ignore = make(map[string]struct{})
141142
for _, res := range allRes {
142143
if res.HasMain {
143144
mainModules[res.FileName] = treeset.NewWith(moduleComparator)

0 commit comments

Comments
 (0)