diff options
author | Matt Clay <matt@mystile.com> | 2023-10-05 00:11:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 00:11:17 +0200 |
commit | 9f899f94924fafeb330b1e8b18c970742da56e0d (patch) | |
tree | f0f250716e1b190097ac289b5657b5dfd058389a /test/integration/targets/ansible-test-sanity-import | |
parent | ansible-test - Remove more Python 2.7 / 3.6 support (#81898) (diff) | |
download | ansible-9f899f94924fafeb330b1e8b18c970742da56e0d.tar.xz ansible-9f899f94924fafeb330b1e8b18c970742da56e0d.zip |
Require `from __future__ import annotations` (#81902)
Diffstat (limited to 'test/integration/targets/ansible-test-sanity-import')
2 files changed, 2 insertions, 4 deletions
diff --git a/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor1.py b/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor1.py index f662b97d72..3cf63c0a65 100644 --- a/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor1.py +++ b/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor1.py @@ -1,7 +1,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -from __future__ import absolute_import, division, print_function -__metaclass__ = type +from __future__ import annotations DOCUMENTATION = ''' name: vendor1 diff --git a/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor2.py b/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor2.py index 38860b031e..d22f7184bd 100644 --- a/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor2.py +++ b/test/integration/targets/ansible-test-sanity-import/ansible_collections/ns/col/plugins/lookup/vendor2.py @@ -1,7 +1,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -from __future__ import absolute_import, division, print_function -__metaclass__ = type +from __future__ import annotations DOCUMENTATION = ''' name: vendor2 |