mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-16412 Support type hints for instance attributes using annotations
This commit is contained in:
committed by
Andrey Vlasovskikh
parent
af24ba5f20
commit
1d71f182c1
+24
@@ -50,6 +50,14 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
|
||||
doNegativeTest();
|
||||
}
|
||||
|
||||
public void testNotSuggestedInstanceAttributeWithAnnotation() {
|
||||
doNegativeTest();
|
||||
}
|
||||
|
||||
public void testNotSuggestedInstanceAttributeWithTypeComment() {
|
||||
doNegativeTest();
|
||||
}
|
||||
|
||||
public void testAnnotationLocalSimpleAssignmentTarget() {
|
||||
doTestAnnotation();
|
||||
}
|
||||
@@ -74,6 +82,22 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
|
||||
doTestAnnotation();
|
||||
}
|
||||
|
||||
public void testAnnotationInstanceAttribute() {
|
||||
doTestAnnotation();
|
||||
}
|
||||
|
||||
public void testAnnotationInstanceAttributeDocstring() {
|
||||
doTestAnnotation();
|
||||
}
|
||||
|
||||
public void testTypeCommentInstanceAttribute() {
|
||||
doTestAnnotation();
|
||||
}
|
||||
|
||||
public void testTypeCommentInstanceAttributeDocstring() {
|
||||
doTestAnnotation();
|
||||
}
|
||||
|
||||
public void testTypeCommentLocalSimpleAssignmentTarget() {
|
||||
doTestTypeComment();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user