Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidev committed Jan 27, 2025
1 parent 2da233a commit 3fcf261
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion aqt/commercial.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class QtPackageInfo:


class QtPackageManager:
def __init__(self, arch: str, version: Version, target: str, username: str = None, password: str = None):
def __init__(
self, arch: str, version: Version, target: str, username: Optional[str] = None, password: Optional[str] = None
):
self.arch = arch
self.version = version
self.target = target
Expand Down
3 changes: 0 additions & 3 deletions aqt/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,13 +930,10 @@ def run_list_qt_commercial(self, args) -> None:

except Exception as e:
self.logger.error(f"Failed to list Qt commercial packages: {e}")
return 1
finally:
# Clean up
Settings.qt_installer_cleanup()

return 0

def _warn_on_deprecated_command(self, old_name: str, new_name: str) -> None:
self.logger.warning(
f"The command '{old_name}' is deprecated and marked for removal in a future version of aqt.\n"
Expand Down

0 comments on commit 3fcf261

Please sign in to comment.