Context: Rather than keeping all our states in a states.py or transformations in a transformations.py for example we should separate out each class into an individual class.py file.
Description of the Change: Individual classes per file (with some exceptions depending on if it makes sense or not)
Benefits: Easier to see what is and isn't implemented from the file structure. Easier to see unit tests for classes. Ensures we don't run into the 'pylint: too complex' check.
Possible Drawbacks: Trade off is that we will have more .py files in our repo.
Context: Rather than keeping all our states in a
states.py
or transformations in atransformations.py
for example we should separate out each class into an individualclass.py
file.Description of the Change: Individual classes per file (with some exceptions depending on if it makes sense or not)
Benefits: Easier to see what is and isn't implemented from the file structure. Easier to see unit tests for classes. Ensures we don't run into the 'pylint: too complex' check.
Possible Drawbacks: Trade off is that we will have more
.py
files in our repo.