community.docker/plugins/module_utils
Felix Fontein 741c318b1d
Python code modernization, 2/n (#1156)
* Adjust all __future__ imports:

for i in $(grep -REl "__future__.*absolute_import" plugins/ tests/); do
  sed -e 's/from __future__ import .*/from __future__ import annotations/g' -i $i;
done

* Remove all UTF-8 encoding specifications for Python source files:

for i in $(grep -REl '[-][*]- coding: utf-8 -[*]-' plugins/ tests/); do
  sed -e '/^# -\*- coding: utf-8 -\*-/d' -i $i;
done

* Reformat.
2025-10-09 20:46:48 +02:00
..
_api Python code modernization, 2/n (#1156) 2025-10-09 20:46:48 +02:00
_module_container Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_common_api.py Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_common_cli.py Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_common.py Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_compose_v2.py Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_copy.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_image_archive.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_logfmt.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_platform.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_scramble.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_socket_handler.py Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_socket_helper.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_swarm.py Make all doc fragments, module utils, and plugin utils private (#1144) 2025-10-07 07:32:33 +02:00
_util.py Address some pylint issues (#1155) 2025-10-09 20:11:36 +02:00
_version.py Python code modernization, 2/n (#1156) 2025-10-09 20:46:48 +02:00