diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-13 21:22:35 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-01 17:01:30 -0500 |
| commit | 680b5ff819bf36397ea560f802510bce5b83f6bc (patch) | |
| tree | be858f583b6cce3fab78836b11678759078bef11 /mesonbuild/utils | |
| parent | dcefe1f8fdd89c5f2d1329c793919396168e01d6 (diff) | |
| download | meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.gz | |
treewide: add future annotations import
Diffstat (limited to 'mesonbuild/utils')
| -rw-r--r-- | mesonbuild/utils/platform.py | 1 | ||||
| -rw-r--r-- | mesonbuild/utils/posix.py | 1 | ||||
| -rw-r--r-- | mesonbuild/utils/vsenv.py | 2 | ||||
| -rw-r--r-- | mesonbuild/utils/win32.py | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/utils/platform.py b/mesonbuild/utils/platform.py index f0676a621..4a3927ddf 100644 --- a/mesonbuild/utils/platform.py +++ b/mesonbuild/utils/platform.py @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations """base classes providing no-op functionality..""" diff --git a/mesonbuild/utils/posix.py b/mesonbuild/utils/posix.py index 67f9a442b..161e8fc2e 100644 --- a/mesonbuild/utils/posix.py +++ b/mesonbuild/utils/posix.py @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations """Posix specific implementations of mesonlib functionality.""" diff --git a/mesonbuild/utils/vsenv.py b/mesonbuild/utils/vsenv.py index 47055a042..d862e5acc 100644 --- a/mesonbuild/utils/vsenv.py +++ b/mesonbuild/utils/vsenv.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import os import subprocess import json diff --git a/mesonbuild/utils/win32.py b/mesonbuild/utils/win32.py index bc0caec94..2bd4cba8d 100644 --- a/mesonbuild/utils/win32.py +++ b/mesonbuild/utils/win32.py @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations """Windows specific implementations of mesonlib functionality.""" |
