🎨 improve typing

This commit is contained in:
yanyongyu
2021-06-14 19:52:35 +08:00
parent e9bc98e74d
commit ddd96271b0
4 changed files with 121 additions and 117 deletions

View File

@ -6,7 +6,9 @@ try:
del pkg_resources
except ImportError:
import pkgutil
__path__: Iterable[str] = pkgutil.extend_path(__path__, __name__)
__path__: Iterable[str] = pkgutil.extend_path(
__path__, # type: ignore
__name__)
del pkgutil
except Exception:
pass