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
[python-ldap] Fix comments and suggestions from first review round
Backwards compatibility fixes (the majority of the changes):
* Use Optional[<type>] instead of <type> | None
* Use Union[<typeA>, <typeB>] instead of <typeA> | <typeB>
* Remove use of from __future__ import annotations
Other:
* Move module from Lib/ldap_types.py to Lib/ldap/types.py
* Remove use of from ldap_types import *
* Move mypy.ini content to setup.cfg (pyproject.toml caused intermittent errors)
* Extend tox.ini with mypy checks
* Move _ldap.pyi to Lib/_ldap.pyi and add to MANIFEST.in
* Add PEP561 type marker file (Lib/ldap/py.typed)
0 commit comments