Everyone uses conventions. They kinda make large systems possible.

However, these conventions are usually recorded e.g. in a wiki (if at all).

This makes things difficult for large projects; you have to repeat code all over the place as your conventions are just that: conventions.

So a pattern i'm seeing is putting all of your conventions in code: e.g. conventions.py

This solves the problem by making the easy way of doing things just using the code instead of the random association of conventions.