sqlite-utils/sqlite_utils
Simon Willison 29842be858 Fix type errors in cli.py and db.py
- Add type annotation for Database.conn to fix context manager errors
- Convert exception objects to str() when raising ClickException
- Handle None return from find_spatialite() with proper error message

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 16:25:03 -08:00
..
__init__.py prepare_connection plugin hook 2023-07-22 15:59:08 -07:00
__main__.py Support 'python -m sqlite_utils', closes #368 2022-01-08 18:33:22 -08:00
cli.py Fix type errors in cli.py and db.py 2025-12-16 16:25:03 -08:00
db.py Fix type errors in cli.py and db.py 2025-12-16 16:25:03 -08:00
hookspecs.py prepare_connection plugin hook 2023-07-22 15:59:08 -07:00
plugins.py More robust _called_from_test pattern 2023-07-22 16:21:27 -07:00
py.typed py.typed file so mypy picks up the types, closes #331 2021-11-14 15:21:04 -08:00
recipes.py Removed convert skip_false and --skip-false, closes #542 2025-11-23 15:40:28 -08:00
utils.py Database as a context manager, fixed many pytest warnings 2025-12-11 16:56:12 -08:00