sqlite-utils/sqlite_utils
Claude 83c50527aa
Add type hints to public APIs and configure mypy
- Improve mypy configuration with appropriate strictness settings
- Add comprehensive type hints to public API functions:
  - hookspecs.py: Type register_commands and prepare_connection hooks
  - plugins.py: Type get_plugins function and PluginManager
  - recipes.py: Type parsedate, parsedatetime, jsonsplit functions
  - utils.py: Type all public utility functions including rows_from_file,
    TypeTracker, ValueTracker, chunks, hash_record, flatten, etc.
  - db.py: Type Database, Queryable, Table, and View class methods
    including constructor, execute, query, table operations, etc.
- Exclude cli.py from strict checking (internal implementation detail)
- All public API modules now pass mypy type checking
2025-12-15 18:57:58 +00: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 Database as a context manager, fixed many pytest warnings 2025-12-11 16:56:12 -08:00
db.py Add type hints to public APIs and configure mypy 2025-12-15 18:57:58 +00:00
hookspecs.py Add type hints to public APIs and configure mypy 2025-12-15 18:57:58 +00:00
plugins.py Add type hints to public APIs and configure mypy 2025-12-15 18:57:58 +00:00
py.typed py.typed file so mypy picks up the types, closes #331 2021-11-14 15:21:04 -08:00
recipes.py Add type hints to public APIs and configure mypy 2025-12-15 18:57:58 +00:00
utils.py Add type hints to public APIs and configure mypy 2025-12-15 18:57:58 +00:00