459 Private method to check the type annotation complexity. |
459 Private method to check the type annotation complexity. |
460 """ |
460 """ |
461 maxAnnotationComplexity = self.__args.get( |
461 maxAnnotationComplexity = self.__args.get( |
462 "MaximumComplexity", |
462 "MaximumComplexity", |
463 AnnotationsCheckerDefaultArgs["MaximumComplexity"]) |
463 AnnotationsCheckerDefaultArgs["MaximumComplexity"]) |
464 # TODO: include 'MaximumLength' in CodeStyleCheckerDialog |
|
465 maxAnnotationLength = self.__args.get( |
464 maxAnnotationLength = self.__args.get( |
466 "MaximumLength", AnnotationsCheckerDefaultArgs["MaximumLength"]) |
465 "MaximumLength", AnnotationsCheckerDefaultArgs["MaximumLength"]) |
467 typeAnnotations = [] |
466 typeAnnotations = [] |
468 |
467 |
469 functionDefs = [ |
468 functionDefs = [ |