eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py

changeset 8258
82b608e352ec
parent 8249
8232e8e4eeef
equal deleted inserted replaced
8257:28146736bbfc 8258:82b608e352ec
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 = [

eric ide

mercurial