600 ]["ForceFutureAnnotations"], |
600 ]["ForceFutureAnnotations"], |
601 } |
601 } |
602 ) |
602 ) |
603 if "CheckFutureAnnotations" not in self.__data["AnnotationsChecker"]: |
603 if "CheckFutureAnnotations" not in self.__data["AnnotationsChecker"]: |
604 # third extension |
604 # third extension |
605 self.__data["AnnotationsChecker"][ |
605 self.__data["AnnotationsChecker"]["CheckFutureAnnotations"] = ( |
606 "CheckFutureAnnotations" |
606 defaultParameters["AnnotationsChecker"]["CheckFutureAnnotations"] |
607 ] = defaultParameters["AnnotationsChecker"]["CheckFutureAnnotations"] |
607 ) |
608 if "ExemptedTypingSymbols" not in self.__data["AnnotationsChecker"]: |
608 if "ExemptedTypingSymbols" not in self.__data["AnnotationsChecker"]: |
609 # fourth extension |
609 # fourth extension |
610 self.__data["AnnotationsChecker"][ |
610 self.__data["AnnotationsChecker"]["ExemptedTypingSymbols"] = ( |
611 "ExemptedTypingSymbols" |
611 defaultParameters["AnnotationsChecker"]["ExemptedTypingSymbols"] |
612 ] = defaultParameters["AnnotationsChecker"]["ExemptedTypingSymbols"] |
612 ) |
613 |
613 |
614 self.__initCategoriesList(self.__data["EnabledCheckerCategories"]) |
614 self.__initCategoriesList(self.__data["EnabledCheckerCategories"]) |
615 self.excludeFilesEdit.setText(self.__data["ExcludeFiles"]) |
615 self.excludeFilesEdit.setText(self.__data["ExcludeFiles"]) |
616 self.excludeMessagesEdit.setText(self.__data["ExcludeMessages"]) |
616 self.excludeMessagesEdit.setText(self.__data["ExcludeMessages"]) |
617 self.includeMessagesEdit.setText(self.__data["IncludeMessages"]) |
617 self.includeMessagesEdit.setText(self.__data["IncludeMessages"]) |