use python-modernizer to fix migrations and other small issues