You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preparation for #646
* Remove `ignore_missing_imports = true` from mypy configuration.
* Run mypy in the same environment instead of separate to check types
in dependencies like fastapi.
* Move mypy dependencies from pre-commit configuration to setup.cfg.
* Update mypy dependencies there.
* Add libraries with missing types to ignore list in mypy
configuration.
* Add pydantic mypy plugin.
* Allow running mypy without explicit paths.
* Update GitHub Actions.
* Temporarily add ignore `annotation-unchecked` to make mypy pass.
* Fix new mypy issues:
* Use https://github.com/hauntsaninja/no_implicit_optional to make
`Optional` explicit.
* If there is no default, first `pydantic.Field` argument should be
omitted (`None` means that the default argument is `None`).
* Fix logical error in `_run_migrations`: no config - no migrations.
* Trivial errors.
0 commit comments