Skip to content

Commit 87ce931

Browse files
committed
Fix typo in conditional
1 parent 7701c17 commit 87ce931

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/docstub/_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def query(self, search_name):
405405
known_import is not None
406406
and annotation_name is not None
407407
and annotation_name != known_import.target
408-
and annotation_name.startswith(known_import.target)
408+
and not annotation_name.startswith(known_import.target)
409409
):
410410
# Ensure that the annotation matches the import target
411411
annotation_name = annotation_name[

0 commit comments

Comments
 (0)