As the person who has been called being “famous for advocating for the src layout” I endorse this message.
Occasionally I get that suggested by Copilot and I weep for who taught it that.
The whole point of the src directory is to NOT be importable.
Ned Batchelder (@[email protected])
Quick #Python packaging tip: if you ever find yourself wanting to type `import src.anything` or `from src import anything`, turn back. `src` should never be part of an import.