diff options
Diffstat (limited to 'mesonbuild/modules')
| -rw-r--r-- | mesonbuild/modules/dlang.py | 1 | ||||
| -rw-r--r-- | mesonbuild/modules/external_project.py | 2 | ||||
| -rw-r--r-- | mesonbuild/modules/hotdoc.py | 1 | ||||
| -rw-r--r-- | mesonbuild/modules/keyval.py | 1 | ||||
| -rw-r--r-- | mesonbuild/modules/python3.py | 1 | ||||
| -rw-r--r-- | mesonbuild/modules/rust.py | 2 | ||||
| -rw-r--r-- | mesonbuild/modules/simd.py | 1 | ||||
| -rw-r--r-- | mesonbuild/modules/windows.py | 1 |
8 files changed, 8 insertions, 2 deletions
diff --git a/mesonbuild/modules/dlang.py b/mesonbuild/modules/dlang.py index 7a9b99fd5..b9d4299cf 100644 --- a/mesonbuild/modules/dlang.py +++ b/mesonbuild/modules/dlang.py @@ -14,6 +14,7 @@ # This file contains the detection logic for external dependencies that # are UI-related. +from __future__ import annotations import json import os diff --git a/mesonbuild/modules/external_project.py b/mesonbuild/modules/external_project.py index 087850bbb..8b0ae93a4 100644 --- a/mesonbuild/modules/external_project.py +++ b/mesonbuild/modules/external_project.py @@ -11,8 +11,8 @@ # 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 + from pathlib import Path import os import shlex diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py index 3dac9be85..b73d81279 100644 --- a/mesonbuild/modules/hotdoc.py +++ b/mesonbuild/modules/hotdoc.py @@ -11,6 +11,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 '''This module provides helper functions for generating documentation using hotdoc''' diff --git a/mesonbuild/modules/keyval.py b/mesonbuild/modules/keyval.py index e900a2b02..1ba2f1c9a 100644 --- a/mesonbuild/modules/keyval.py +++ b/mesonbuild/modules/keyval.py @@ -11,6 +11,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 import os import typing as T diff --git a/mesonbuild/modules/python3.py b/mesonbuild/modules/python3.py index 52f8531f1..065e8d7a2 100644 --- a/mesonbuild/modules/python3.py +++ b/mesonbuild/modules/python3.py @@ -11,6 +11,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 import sysconfig from .. import mesonlib diff --git a/mesonbuild/modules/rust.py b/mesonbuild/modules/rust.py index 02003ec96..126b8942c 100644 --- a/mesonbuild/modules/rust.py +++ b/mesonbuild/modules/rust.py @@ -11,8 +11,8 @@ # 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 + import os import typing as T diff --git a/mesonbuild/modules/simd.py b/mesonbuild/modules/simd.py index a33022d04..3ee0858b3 100644 --- a/mesonbuild/modules/simd.py +++ b/mesonbuild/modules/simd.py @@ -11,6 +11,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 from .. import mesonlib, compilers, mlog from .. import build diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py index dec6e2e26..494cfbffd 100644 --- a/mesonbuild/modules/windows.py +++ b/mesonbuild/modules/windows.py @@ -11,6 +11,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 import enum import os |
