Merge branch 'master' into topic/miurahr/notify-qtcreator-sdk

This commit is contained in:
Hiroshi Miura
2023-11-28 18:00:46 +09:00
committed by GitHub
91 changed files with 12669 additions and 1710 deletions

View File

@@ -29,7 +29,7 @@ class AqtException(Exception):
self.should_show_help: bool = should_show_help or False
super(AqtException, self).__init__(*args, **kwargs)
def __format__(self, format_spec) -> str:
def __format__(self, format_spec: str) -> str:
base_msg = "{}".format(super(AqtException, self).__format__(format_spec))
if not self.suggested_action:
return base_msg
@@ -40,7 +40,7 @@ class AqtException(Exception):
["* " + suggestion for suggestion in self.suggested_action]
)
def append_suggested_follow_up(self, suggestions: List[str]):
def append_suggested_follow_up(self, suggestions: List[str]) -> None:
self.suggested_action.extend(suggestions)
@@ -106,3 +106,11 @@ class OutOfMemory(AqtException):
class QmakeNotFound(AqtException):
pass
class OutOfDiskSpace(AqtException):
pass
class DiskAccessNotPermitted(AqtException):
pass