With https://peps.python.org/pep-0420/ - released with python 3.3 it is no longer required to create an empty `__init__.py` file. However Coverage still skips folders without an `__init__.py` https://github.com/nedbat/coveragepy/blob/0aa1070a2c9a99e10b7790b9a6a40a631ba5514e/coverage/files.py#L409 This causes unexpected results for the total coverage as valid python code is not included in the total coverage! rel: https://github.com/pytest-dev/pytest-cov/issues/88#issuecomment-667079121