What's changed
Features
- Catch exception globally so that it even show in log message with app in #1601
Fixes
- Check createMode in ["ai_polygon", "ai_mask"] before checking self._sam in #1588
Testing
- Mypy in #1572
- Test polygon creation in test app py in #1574
- Test openNextImg and openPrevImg methods in labelme.app.MainWindow in #1575
- Increase mypy check scope by installing pyqt5-stubs in #1595
Others
- Remove unused ColorDialog in #1570
- Enable isort check in ruff in #1573
- refactor: Replace sam_embedding caching with lru_cache in #1592
- Compute image embedding for SAM only when needed in #1593
- Initialize ai model when needed in canvas in #1596
Full Changelog: v5.8.1...v5.8.2