mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-13 03:54:23 +02:00
Fix mypy type errors
- Add type: ignore comments for runtime-valid patterns mypy can't verify - Fix new_column_types annotation to Dict[str, Set[type]] - Add type: ignore for Default sentinel values passed to create_table 🤖 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
9b1daa346a
commit
683d9cac0c
2 changed files with 15 additions and 15 deletions
|
|
@ -464,7 +464,7 @@ class ValueTracker:
|
|||
|
||||
def test_integer(self, value: object) -> bool:
|
||||
try:
|
||||
int(value) # type: ignore[arg-type]
|
||||
int(value) # type: ignore
|
||||
return True
|
||||
except (ValueError, TypeError):
|
||||
return False
|
||||
|
|
@ -504,7 +504,7 @@ class NullProgressBar:
|
|||
self.args = args
|
||||
|
||||
def __iter__(self) -> Iterator[T]:
|
||||
yield from self.args[0]
|
||||
yield from self.args[0] # type: ignore
|
||||
|
||||
def update(self, value: int) -> None:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue