aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-13 21:22:35 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-02-01 17:01:30 -0500
commit680b5ff819bf36397ea560f802510bce5b83f6bc (patch)
treebe858f583b6cce3fab78836b11678759078bef11 /mesonbuild/cmake
parentdcefe1f8fdd89c5f2d1329c793919396168e01d6 (diff)
downloadmeson-680b5ff819bf36397ea560f802510bce5b83f6bc.zip
meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.gz
meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.bz2
treewide: add future annotations import
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r--mesonbuild/cmake/common.py1
-rw-r--r--mesonbuild/cmake/fileapi.py1
-rw-r--r--mesonbuild/cmake/generator.py1
-rw-r--r--mesonbuild/cmake/traceparser.py1
-rw-r--r--mesonbuild/cmake/tracetargets.py1
5 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/cmake/common.py b/mesonbuild/cmake/common.py
index dffdbdf..accb7c9 100644
--- a/mesonbuild/cmake/common.py
+++ b/mesonbuild/cmake/common.py
@@ -14,6 +14,7 @@
# This class contains the basic functionality needed to run any interpreter
# or an interpreter-based tool.
+from __future__ import annotations
from ..mesonlib import MesonException, OptionKey
from .. import mlog
diff --git a/mesonbuild/cmake/fileapi.py b/mesonbuild/cmake/fileapi.py
index fce2891..9605f92 100644
--- a/mesonbuild/cmake/fileapi.py
+++ b/mesonbuild/cmake/fileapi.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 .common import CMakeException, CMakeBuildFile, CMakeConfiguration
import typing as T
diff --git a/mesonbuild/cmake/generator.py b/mesonbuild/cmake/generator.py
index 9c9fa1c..7903dd4 100644
--- a/mesonbuild/cmake/generator.py
+++ b/mesonbuild/cmake/generator.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
from .. import mlog
diff --git a/mesonbuild/cmake/traceparser.py b/mesonbuild/cmake/traceparser.py
index 54e6bef..5fcba80 100644
--- a/mesonbuild/cmake/traceparser.py
+++ b/mesonbuild/cmake/traceparser.py
@@ -14,6 +14,7 @@
# This class contains the basic functionality needed to run any interpreter
# or an interpreter-based tool.
+from __future__ import annotations
from .common import CMakeException
from .generator import parse_generator_expressions
diff --git a/mesonbuild/cmake/tracetargets.py b/mesonbuild/cmake/tracetargets.py
index d64d1a1..338364d 100644
--- a/mesonbuild/cmake/tracetargets.py
+++ b/mesonbuild/cmake/tracetargets.py
@@ -1,5 +1,6 @@
# SPDX-License-Identifer: Apache-2.0
# Copyright 2021 The Meson development team
+from __future__ import annotations
from .common import cmake_is_debug
from .. import mlog