Gitlab has been updated. More info here.
Apply PEP8 recommandation + add initial doctest in simulation.py