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