Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Improve type hints and formatting (#133)
* Use isort and black to format * Fix most mypy errors * Fix all typing error with strict mypy * Replace *args, **kwargs by explicit parameters * Use ssl._PasswordType instead of str * Fix typing - Add *args, **kwargs to subscribe, unsubscribe and publish - Remove forward reference - Remove private ssl types - Revert _pending_subscribes to asyncio.Future - Use Union instead of | - Use List and Tuple instead of list and tuple - Other minor changes * Fix tls_version type * Change Awaitable with Coroutine for _outgoing_call
- Loading branch information