Highlights
- `mypy_boto3` CLI command is no longer needed, stubs are pre-generated for all services
- `pyright` is fully supported and now is main priority
- `mypy`, `VSCode (Pylance)` and `PyCharm` are still supported
- `mypy_boto3.<service_name>` imports no longer work, use `mypy_boto3_<service_name>`
Changed
- All type stubs were converted to `pyi` files (pyright support)
- `boto3.client/resource` overloads for all services are pre-generated, which renders `mypy_boto3` CLI useless
- `Session.client/resource` overloads for all services are pre-generated, which renders `mypy_boto3` CLI useless
- Updated `black+isort` for generated files
Fixed
- Imports were sorted incorrectly in generated `boto3-stubs`
- Some imports were incorrectly marked as unused by `pylint`
- `botocore.client.ClientError` is correctly handled by `pyright`