1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
; extends ; function and class docstring detection (block (expression_statement (string)) @docstring) ; shpinx detection in docstring ; (block ; (expression_statement ; (string ; (string_content))) @type) ; type hint detection (type) @type