From b40b6f1e704408911579fdf32a941c4c507c236c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Wed, 21 Sep 2022 13:05:41 -0400 Subject: [PATCH] python3: empty __init__.py can be removed (#1018) python3: empty __init__.py can be removed Since we are Python3 (PEP-420), these empty __init__.py files are not required anymore. pytest is still able to discover the test files. Reviewed-by: Jill R --- changelogs/fragments/remove__init__.py_file.yaml | 3 +++ plugins/__init__.py | 0 plugins/action/__init__.py | 0 plugins/callback/__init__.py | 0 plugins/doc_fragments/__init__.py | 0 plugins/inventory/__init__.py | 0 plugins/lookup/__init__.py | 0 plugins/module_utils/__init__.py | 0 plugins/modules/__init__.py | 0 tests/unit/__init__.py | 0 tests/unit/mock/__init__.py | 0 tests/unit/module_utils/__init__.py | 0 tests/unit/module_utils/core/__init__.py | 0 tests/unit/plugins/__init__.py | 0 tests/unit/plugins/inventory/__init__.py | 0 tests/unit/plugins/modules/__init__.py | 0 tests/unit/plugins/modules/fixtures/__init__.py | 0 tests/unit/plugins/modules/placebo_recordings/__init__.py | 0 .../modules/placebo_recordings/cloudformation/__init__.py | 0 tests/unit/utils/__init__.py | 0 20 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/remove__init__.py_file.yaml delete mode 100644 plugins/__init__.py delete mode 100644 plugins/action/__init__.py delete mode 100644 plugins/callback/__init__.py delete mode 100644 plugins/doc_fragments/__init__.py delete mode 100644 plugins/inventory/__init__.py delete mode 100644 plugins/lookup/__init__.py delete mode 100644 plugins/module_utils/__init__.py delete mode 100644 plugins/modules/__init__.py delete mode 100644 tests/unit/__init__.py delete mode 100644 tests/unit/mock/__init__.py delete mode 100644 tests/unit/module_utils/__init__.py delete mode 100644 tests/unit/module_utils/core/__init__.py delete mode 100644 tests/unit/plugins/__init__.py delete mode 100644 tests/unit/plugins/inventory/__init__.py delete mode 100644 tests/unit/plugins/modules/__init__.py delete mode 100644 tests/unit/plugins/modules/fixtures/__init__.py delete mode 100644 tests/unit/plugins/modules/placebo_recordings/__init__.py delete mode 100644 tests/unit/plugins/modules/placebo_recordings/cloudformation/__init__.py delete mode 100644 tests/unit/utils/__init__.py diff --git a/changelogs/fragments/remove__init__.py_file.yaml b/changelogs/fragments/remove__init__.py_file.yaml new file mode 100644 index 00000000000..bdbf2ef00d4 --- /dev/null +++ b/changelogs/fragments/remove__init__.py_file.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: +- Remove the empty __init__.py file from the distribution, they were not required anymore (https://github.com/ansible-collections/amazon.aws/pull/1018). diff --git a/plugins/__init__.py b/plugins/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/action/__init__.py b/plugins/action/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/callback/__init__.py b/plugins/callback/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/doc_fragments/__init__.py b/plugins/doc_fragments/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/inventory/__init__.py b/plugins/inventory/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/lookup/__init__.py b/plugins/lookup/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/module_utils/__init__.py b/plugins/module_utils/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plugins/modules/__init__.py b/plugins/modules/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/mock/__init__.py b/tests/unit/mock/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/module_utils/__init__.py b/tests/unit/module_utils/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/module_utils/core/__init__.py b/tests/unit/module_utils/core/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/__init__.py b/tests/unit/plugins/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/inventory/__init__.py b/tests/unit/plugins/inventory/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/modules/__init__.py b/tests/unit/plugins/modules/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/modules/fixtures/__init__.py b/tests/unit/plugins/modules/fixtures/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/modules/placebo_recordings/__init__.py b/tests/unit/plugins/modules/placebo_recordings/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/modules/placebo_recordings/cloudformation/__init__.py b/tests/unit/plugins/modules/placebo_recordings/cloudformation/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/utils/__init__.py b/tests/unit/utils/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000