Anki/qt/aqt/browser
Ben Nguyen 931e1d80f2
Enable strict_optional in aqt/. and aqt/browser (#3486)
* Boolean naming convention

* Rename no_strict_optional -> strict_optional

* Update CONTRIBUTORS

* Enable strict optional for aqt module

* Fix errors

* Enable strict optional for aqt browser

* Fix layout.py errors

* Fix find_duplicates.py errors

* Fix browser.py errors

* Revert a0 a1 names

* Fix tree.py errors

* Fix previewer.py errors

* Fix model.py errors

* Fix find_and_replace.py errors

* Fix item.py errors

* Fix toolbar.py errors

* Fix table/__init__.py errors

* Fix model.py errors

* Fix state.py errors

* Fix table.py errors

* Fix errors in card_info.py

* Fix searchbar.py errors

* Fix name

* Fix assert in browser.py

* Formatting

* Fix assert vh

* assert is not None instead of truthy

* Split _move_current() up to correct type signature (dae)

We want either index or direction, but not both.
2024-10-11 23:12:48 +10:00
..
sidebar Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
table Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
__init__.py new change notetype implementation for the frontend 2021-06-10 22:19:24 +10:00
browser.py Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
card_info.py Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
find_and_replace.py Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
find_duplicates.py Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
layout.py Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00
previewer.py Enable strict_optional in aqt/. and aqt/browser (#3486) 2024-10-11 23:12:48 +10:00