We have a Par base class from which different types of parameters are derived. Those are expected to implement a set of member functions, but it's all very duck-typed. If Par had an empty declaration (raising NotImplementedError) for these, with a docstring, things would be clearer.
Since this code never ends up on the user's computer, and since the output is extensively tested, it's not high priority, but it would help reduce effort on future API extensions.
We have a
Par
base class from which different types of parameters are derived. Those are expected to implement a set of member functions, but it's all very duck-typed. IfPar
had an empty declaration (raisingNotImplementedError
) for these, with a docstring, things would be clearer.Since this code never ends up on the user's computer, and since the output is extensively tested, it's not high priority, but it would help reduce effort on future API extensions.