Import of other modules within the project
Currently we are using import peyote
within our submodules to import the entire project. In order to access other submodules we write something like p = peyote.prior.Uniform(0, 1)
.
I think a nicer way of doing this would be to just import the other submodules that are actually being used, e.g. from . import prior
. This makes the actual function call shorter and easier to read: p = prior.Uniform(0, 1)
. It makes it clear right from the start on which other modules the current module is relying on.