News for hackers. Stuff that matters.
Re:Show HN: Tach – Visualize and Untangle Your Python Codebase by lijok on Wednesday February 26, 2025 @03:10PM (#43187652)
> The language doesn't enforce them, so they may as well not exist. See: python dependency management.

I see your point. You can enforce them with mypy by declaring your exports in your __init__.py file, using the `as` aliasing method or using `__all__`: https://mypy.readthedocs.io/en/stable/command_line.html#cmdo....

There are no comments on this comment yet.