PY-16412 Add annotations and type comments to existing class-level definitions

for instance attributes
This commit is contained in:
Mikhail Golubev
2018-02-05 21:41:59 +03:00
committed by Andrey Vlasovskikh
parent 3c74966e95
commit bf5a0dd8b1
10 changed files with 111 additions and 14 deletions
@@ -90,6 +90,14 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
doTestAnnotation();
}
public void testAnnotationInstanceAttributeClassLevelAssignment() {
doTestAnnotation();
}
public void testAnnotationInstanceAttributeClassLevelAssignmentInAncestor() {
doTestAnnotation();
}
public void testTypeCommentInstanceAttribute() {
doTestTypeComment();
}
@@ -102,6 +110,14 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
doTestTypeComment();
}
public void testTypeCommentInstanceAttributeClassLevelAssignment() {
doTestTypeComment();
}
public void testTypeCommentInstanceAttributeClassLevelAssignmentInAncestor() {
doTestTypeComment();
}
public void testTypeCommentLocalSimpleAssignmentTarget() {
doTestTypeComment();
}