Open timmc-edx opened 2 years ago
@timmc-edx can you offer insights on if this still needs to remain open? Thanks!
It all still looks relevant. I don't think anything has changed about it.
Note: This should move to the event-bus-kafka repo.
This bullet could be carved out into a separate, more general, community task:
edx-platform https://github.com/openedx/edx-platform/pull/27875 that validates that every dir with Python code has a dunder-init file; we could make this a standard CI check.
- Pytest is opinionated against having init.py in test directories. We would need to find out why first.
- We might actually want to use namespace packages in the future (which don't have dunder-init files).
Pylint won't lint Python modules in directories that lack an
__init__.py
file, causing us to miss lint errors: https://github.com/openedx/event-bus-kafka/pull/36Discovery required. Information so far:
__init__.py
in test directories. We would need to find out why first.References: