Anki/qt/aqt
Ben Nguyen a150eda287
Enable strict_optional for aqt/notetypechooser, stats, switch (#3558)
* Enable strict_optional for notetypechooser

* Fix mypy errors

* Enable strict_optional for stats

* Fix mypy errors

* Enable strict_optional for switch

* Fix mypy errors

---------

Co-authored-by: Abdo <abdo@abdnh.net>
2024-11-08 13:42:42 +03:00
..
browser Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
data Revert "Fix ease button alignment (#3474)" (#3522) 2024-10-26 18:50:02 +10:00
forms Remove legacy import option (#3536) 2024-11-05 18:25:06 +10:00
import_export Enable strict_optional for aqt/data, aqt/forms, aqt/import_export (#3489) 2024-10-12 14:36:15 +10:00
operations Update type annotations (#3322) 2024-07-26 17:57:25 +07:00
qt Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
__init__.py Ignore mw typing error 2024-10-11 23:47:22 +10:00
_macos_helper.py Update type annotations (#3322) 2024-07-26 17:57:25 +07:00
about.py Add revert to backup option to file menu (#3434) 2024-09-25 20:21:59 +10:00
addcards.py Fix target deck reset to notetype-specific setting (#3555) 2024-11-07 08:32:42 +10:00
addons.py Allow addon page URL on AddonsDialog (#3467) 2024-10-04 15:02:29 +10:00
ankihub.py Integrate AnkiHub Sign-in (#3232) 2024-08-17 10:58:23 +07:00
changenotetype.py Enable strict_optional for aqt/clayout, changenotetype, fields (#3544) 2024-10-30 13:40:40 +03:00
clayout.py Enable strict_optional for aqt/clayout, changenotetype, fields (#3544) 2024-10-30 13:40:40 +03:00
colors.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
customstudy.py Fix mypy errors 2024-10-26 19:19:20 -07:00
dbcheck.py Ensure DB check tooltip appears in main window 2024-04-30 23:21:41 +10:00
debug_console.py fix: add proper imports (#3296) 2024-08-05 11:34:46 +07:00
deckbrowser.py Enable strict_optional for aqt/deckbrowser.py (#3537) 2024-10-28 14:16:42 +10:00
deckchooser.py fix: add proper imports (#3296) 2024-08-05 11:34:46 +07:00
deckconf.py Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
deckdescription.py Enable strict_optional for aqt/deckdescription.py (#3538) 2024-10-28 14:18:16 +10:00
deckoptions.py Enable strict_optional for aqt/deckoptions, editcurrent, filtered_deck (#3556) 2024-11-07 08:33:41 +10:00
editcurrent.py Enable strict_optional for aqt/deckoptions, editcurrent, filtered_deck (#3556) 2024-11-07 08:33:41 +10:00
editor.py Enable strict_optional for aqt/editor.py (#3500) 2024-10-16 01:08:24 +10:00
emptycards.py Fix error when exporting from empty cards screen 2024-10-22 23:24:27 +10:00
errors.py fix: add proper imports (#3296) 2024-08-05 11:34:46 +07:00
exporting.py Update type annotation syntax (#3283) 2024-07-21 14:00:52 +07:00
fields.py Enable strict_optional for aqt/clayout, changenotetype, fields (#3544) 2024-10-30 13:40:40 +03:00
filtered_deck.py Enable strict_optional for aqt/deckoptions, editcurrent, filtered_deck (#3556) 2024-11-07 08:33:41 +10:00
flags.py Introduce new color palette using Sass maps (#2016) 2022-09-16 14:11:18 +10:00
gui_hooks.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
importing.py Enable strict_optional for aqt/importing.py (#3527) 2024-10-26 19:56:34 +10:00
legacy.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
log.py Add support for python logging (#2969) 2024-02-11 16:41:50 +10:00
main.py Backup warning needs a new string 2024-09-27 19:36:58 +10:00
mediacheck.py Update type annotation syntax (#3283) 2024-07-21 14:00:52 +07:00
mediasrv.py Enable strict_optional for aqt/studydeck, tts, mediasrv (#3542) 2024-10-29 12:05:54 +03:00
mediasync.py Update type annotations (#3322) 2024-07-26 17:57:25 +07:00
modelchooser.py Enable strict_optional for aqt/modelchooser.py (#3539) 2024-10-28 14:19:31 +10:00
models.py Add maximize hint for models.py (#3151) (#3328) 2024-08-05 15:21:18 +07:00
mpv.py Update type annotations to use | operator (#3323) 2024-07-26 18:15:39 +07:00
notetypechooser.py Enable strict_optional for aqt/notetypechooser, stats, switch (#3558) 2024-11-08 13:42:42 +03:00
overview.py Fix mypy errors 2024-10-26 19:07:43 -07:00
package.py Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
preferences.py Remove legacy import option (#3536) 2024-11-05 18:25:06 +10:00
profiles.py Remove legacy import option (#3536) 2024-11-05 18:25:06 +10:00
progress.py python: add missing type annotations for None values (#3364) 2024-08-22 16:03:44 +07:00
props.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
reviewer.py typeanswer: NFC fix & cleanup (#3482) 2024-10-11 20:33:08 +10:00
schema_change_tracker.py Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
sound.py fix: add proper imports (#3296) 2024-08-05 11:34:46 +07:00
stats.py Enable strict_optional for aqt/notetypechooser, stats, switch (#3558) 2024-11-08 13:42:42 +03:00
studydeck.py Enable strict_optional for aqt/studydeck, tts, mediasrv (#3542) 2024-10-29 12:05:54 +03:00
stylesheets.py Workaround Ubuntu ignoring tooltip palette in dark mode 2023-05-31 15:19:10 +10:00
switch.py Enable strict_optional for aqt/notetypechooser, stats, switch (#3558) 2024-11-08 13:42:42 +03:00
sync.py Integrate AnkiHub Sign-in (#3232) 2024-08-17 10:58:23 +07:00
tagedit.py fix: add proper imports (#3296) 2024-08-05 11:34:46 +07:00
taglimit.py Fix mypy errors 2024-10-26 19:33:04 -07:00
taskman.py fix: add proper imports (#3296) 2024-08-05 11:34:46 +07:00
theme.py Update type annotations (#3322) 2024-07-26 17:57:25 +07:00
toolbar.py Update type annotation syntax (#3283) 2024-07-21 14:00:52 +07:00
tts.py Enable strict_optional for aqt/studydeck, tts, mediasrv (#3542) 2024-10-29 12:05:54 +03:00
undo.py Dependency updates (#3040) 2024-02-28 16:28:04 +07:00
update.py Fix UI hanging when update check stalls 2024-10-15 21:32:46 +10:00
utils.py Add "open image" option to editor (#3431) 2024-10-04 20:51:55 +10:00
webview.py Fix UI hanging with empty context menu (#3553) 2024-11-05 17:49:48 +03:00
widgetgallery.py Improve debug console (#2435) 2023-03-15 15:29:05 +10:00
winpaths.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00