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/templates | |
parent | dcefe1f8fdd89c5f2d1329c793919396168e01d6 (diff) | |
download | meson-680b5ff819bf36397ea560f802510bce5b83f6bc.zip meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.gz meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.bz2 |
treewide: add future annotations import
Diffstat (limited to 'mesonbuild/templates')
-rw-r--r-- | mesonbuild/templates/cpptemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/cstemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/ctemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/cudatemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/dlangtemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/fortrantemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/javatemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/mesontemplates.py | 1 | ||||
-rw-r--r-- | mesonbuild/templates/objcpptemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/objctemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/rusttemplates.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/samplefactory.py | 2 | ||||
-rw-r--r-- | mesonbuild/templates/sampleimpl.py | 1 | ||||
-rw-r--r-- | mesonbuild/templates/valatemplates.py | 2 |
14 files changed, 26 insertions, 0 deletions
diff --git a/mesonbuild/templates/cpptemplates.py b/mesonbuild/templates/cpptemplates.py index 61c2737..6e97761 100644 --- a/mesonbuild/templates/cpptemplates.py +++ b/mesonbuild/templates/cpptemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/cstemplates.py b/mesonbuild/templates/cstemplates.py index bad7984..df09f61 100644 --- a/mesonbuild/templates/cstemplates.py +++ b/mesonbuild/templates/cstemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/ctemplates.py b/mesonbuild/templates/ctemplates.py index 9b651bc..0c7141a 100644 --- a/mesonbuild/templates/ctemplates.py +++ b/mesonbuild/templates/ctemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/cudatemplates.py b/mesonbuild/templates/cudatemplates.py index bbb1a3e..63abd2b 100644 --- a/mesonbuild/templates/cudatemplates.py +++ b/mesonbuild/templates/cudatemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/dlangtemplates.py b/mesonbuild/templates/dlangtemplates.py index 3d939d8..81840fe 100644 --- a/mesonbuild/templates/dlangtemplates.py +++ b/mesonbuild/templates/dlangtemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/fortrantemplates.py b/mesonbuild/templates/fortrantemplates.py index 8fc1bca..00cd509 100644 --- a/mesonbuild/templates/fortrantemplates.py +++ b/mesonbuild/templates/fortrantemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/javatemplates.py b/mesonbuild/templates/javatemplates.py index e432961..58d48ba 100644 --- a/mesonbuild/templates/javatemplates.py +++ b/mesonbuild/templates/javatemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/mesontemplates.py b/mesonbuild/templates/mesontemplates.py index 69939be..2868f7b 100644 --- a/mesonbuild/templates/mesontemplates.py +++ b/mesonbuild/templates/mesontemplates.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 argparse diff --git a/mesonbuild/templates/objcpptemplates.py b/mesonbuild/templates/objcpptemplates.py index 11a5091..450f2b0 100644 --- a/mesonbuild/templates/objcpptemplates.py +++ b/mesonbuild/templates/objcpptemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/objctemplates.py b/mesonbuild/templates/objctemplates.py index dac638d..2e03526 100644 --- a/mesonbuild/templates/objctemplates.py +++ b/mesonbuild/templates/objctemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/rusttemplates.py b/mesonbuild/templates/rusttemplates.py index 95a937c..0dde547 100644 --- a/mesonbuild/templates/rusttemplates.py +++ b/mesonbuild/templates/rusttemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re diff --git a/mesonbuild/templates/samplefactory.py b/mesonbuild/templates/samplefactory.py index 3678a02..1950837 100644 --- a/mesonbuild/templates/samplefactory.py +++ b/mesonbuild/templates/samplefactory.py @@ -11,6 +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 mesonbuild.templates.valatemplates import ValaProject from mesonbuild.templates.fortrantemplates import FortranProject from mesonbuild.templates.objcpptemplates import ObjCppProject diff --git a/mesonbuild/templates/sampleimpl.py b/mesonbuild/templates/sampleimpl.py index 2d1498b..9702ae8 100644 --- a/mesonbuild/templates/sampleimpl.py +++ b/mesonbuild/templates/sampleimpl.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 class SampleImpl: diff --git a/mesonbuild/templates/valatemplates.py b/mesonbuild/templates/valatemplates.py index 1aeb46a..ef9794d 100644 --- a/mesonbuild/templates/valatemplates.py +++ b/mesonbuild/templates/valatemplates.py @@ -11,6 +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 mesonbuild.templates.sampleimpl import SampleImpl import re |