Linted mixture.py and framed out validation code