sqlite-utils/sqlite_utils
Simon Willison 792157d120 Fix type errors in tests and plugins
- Add type: ignore for monkey-patching Database.__init__ in conftest
- Fix CLI test to pass string "2" instead of integer to Click invoke
- Add type: ignore for optional sqlean import
- Fix add_geometry_column test to use "XY" instead of integer 2
- Add type: ignore for click.Context as context manager
- Add type: ignore for enable_fts test that intentionally omits argument
- Add type: ignore for sys._called_from_test dynamic attribute
- Fix rows_from_file test type error for intentional wrong argument
- Handle None from pm.get_hookcallers in plugins.py

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 16:40:40 -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 remaining type errors in cli.py 2025-12-16 16:26:57 -08:00
db.py Fix type errors in db.py 2025-12-16 16:29:58 -08:00
hookspecs.py prepare_connection plugin hook 2023-07-22 15:59:08 -07:00
plugins.py Fix type errors in tests and plugins 2025-12-16 16:40:40 -08: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 Add type: ignore for optional pysqlite3 and sqlean imports 2025-12-16 16:30:48 -08:00