diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-24 09:33:21 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-02 15:53:17 -0700 |
commit | f8be4f8fc747772d9639fdbb6e84ddbcfb61593a (patch) | |
tree | 96838bf032b3eafbb321a0d16757e82dfe36caf0 /.lgtm.yml | |
parent | 023722b2c6f3e3d3ea7ac1593695f8d8d7fb089c (diff) | |
download | meson-f8be4f8fc747772d9639fdbb6e84ddbcfb61593a.zip meson-f8be4f8fc747772d9639fdbb6e84ddbcfb61593a.tar.gz meson-f8be4f8fc747772d9639fdbb6e84ddbcfb61593a.tar.bz2 |
adding a _typing module
this is a place that *must* only be imported inside a if
typing.TYPE_CHECKING block. It is a mixture of smoothing over thinigs
that moved from typing_extensions to typing in later python versions and
useful but typing only code.
This makes typing_extensions required for python versions older than
3.8 *when running mypy*. typing_extensions should *only* be imported
inside an `if typing.TYPE_CHECKING` block (include the new _typing.py
module) to ensure that it doesn't become a runtime dependency
Diffstat (limited to '.lgtm.yml')
0 files changed, 0 insertions, 0 deletions