We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7701c17 commit 87ce931Copy full SHA for 87ce931
1 file changed
src/docstub/_analysis.py
@@ -405,7 +405,7 @@ def query(self, search_name):
405
known_import is not None
406
and annotation_name is not None
407
and annotation_name != known_import.target
408
- and annotation_name.startswith(known_import.target)
+ and not annotation_name.startswith(known_import.target)
409
):
410
# Ensure that the annotation matches the import target
411
annotation_name = annotation_name[
0 commit comments