From e0368a3858672b89a05be3d4709011e5f36b01d6 Mon Sep 17 00:00:00 2001 From: Sam Penny <33956017+sam1penny@users.noreply.github.com> Date: Tue, 19 Jul 2022 08:29:46 +0100 Subject: [PATCH] modify type hint in aqt/qt/profiles (#1972) --- qt/aqt/profiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/profiles.py b/qt/aqt/profiles.py index 39c0de804..f177950d5 100644 --- a/qt/aqt/profiles.py +++ b/qt/aqt/profiles.py @@ -149,8 +149,8 @@ class ProfileManager: # Profile load/save ###################################################################### - def profiles(self) -> list: - def names() -> list: + def profiles(self) -> list[str]: + def names() -> list[str]: return self.db.list("select name from profiles where name != '_global'") n = names()