mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-14 04:24:26 +02:00
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>
This commit is contained in:
parent
a0000f2b26
commit
792157d120
7 changed files with 12 additions and 11 deletions
|
|
@ -535,7 +535,7 @@ def test_convert_where(test_db_and_path):
|
|||
"id = :id",
|
||||
"-p",
|
||||
"id",
|
||||
2,
|
||||
"2",
|
||||
],
|
||||
)
|
||||
assert result.exit_code == 0, result.output
|
||||
|
|
@ -564,7 +564,7 @@ def test_convert_where_multi(fresh_db_and_path):
|
|||
"id = :id",
|
||||
"-p",
|
||||
"id",
|
||||
2,
|
||||
"2",
|
||||
"--multi",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue