diff --git a/config.py b/config.py index 5080b19..d9c5b46 100644 --- a/config.py +++ b/config.py @@ -259,18 +259,18 @@ def open_choose_lemma_lang_dialog(self, is_kindle: bool = True) -> None: if choose_lang_dlg.exec(): lemma_lang = choose_lang_dlg.lemma_lang_box.currentData() gloss_lang = choose_lang_dlg.gloss_lang_box.currentData() - prefs[ - "kindle_gloss_lang" if is_kindle else "wiktionary_gloss_lang" - ] = gloss_lang + prefs["kindle_gloss_lang" if is_kindle else "wiktionary_gloss_lang"] = ( + gloss_lang + ) prefs[ "last_opened_kindle_lemmas_language" if is_kindle else "last_opened_wiktionary_lemmas_language" ] = lemma_lang if is_kindle and lemma_lang == "en" and gloss_lang in ["en", "zh", "zh_cn"]: - prefs[ - "use_wiktionary_for_kindle" - ] = choose_lang_dlg.use_wiktionary_box.isChecked() + prefs["use_wiktionary_for_kindle"] = ( + choose_lang_dlg.use_wiktionary_box.isChecked() + ) db_path = ( kindle_db_path(self.plugin_path, lemma_lang, prefs) diff --git a/data/deps.json b/data/deps.json index 51d1c5f..45b8798 100644 --- a/data/deps.json +++ b/data/deps.json @@ -6,5 +6,5 @@ "spacy_trf_model": "3.7.2", "thinc-apple-ops": "0.1.4", "torch": "2.2.1", - "typing-extensions": "4.9.0" + "typing-extensions": "4.10.0" } diff --git a/utils.py b/utils.py index 936528d..af3a38a 100644 --- a/utils.py +++ b/utils.py @@ -11,7 +11,7 @@ from typing import Any, TypedDict CJK_LANGS = ["zh", "ja", "ko"] -PROFICIENCY_VERSION = "0.5.12" +PROFICIENCY_VERSION = "0.5.13" PROFICIENCY_RELEASE_URL = ( f"https://github.com/xxyzz/Proficiency/releases/download/v{PROFICIENCY_VERSION}" )