There are 2 different scenarios that the extension needs to handle:
This test case asserts that the generated targets cover both scenarios.
With the hint we need to check if it's a .py file or a directory with __init__.py file.
__init__.py