Skip to content

Commit

Permalink
python3: empty __init__.py can be removed (ansible-collections#1018)
Browse files Browse the repository at this point in the history
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 <None>
  • Loading branch information
goneri authored Sep 21, 2022
1 parent fcc920c commit b40b6f1
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/remove__init__.py_file.yaml
Original file line number Diff line number Diff line change
@@ -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).
Empty file removed plugins/__init__.py
Empty file.
Empty file removed plugins/action/__init__.py
Empty file.
Empty file removed plugins/callback/__init__.py
Empty file.
Empty file removed plugins/doc_fragments/__init__.py
Empty file.
Empty file removed plugins/inventory/__init__.py
Empty file.
Empty file removed plugins/lookup/__init__.py
Empty file.
Empty file removed plugins/module_utils/__init__.py
Empty file.
Empty file removed plugins/modules/__init__.py
Empty file.
Empty file removed tests/unit/__init__.py
Empty file.
Empty file removed tests/unit/mock/__init__.py
Empty file.
Empty file.
Empty file.
Empty file removed tests/unit/plugins/__init__.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed tests/unit/utils/__init__.py
Empty file.

0 comments on commit b40b6f1

Please sign in to comment.