remove state in all .py files

2 jobs for master in 1 minute and 33 seconds (queued for 2 seconds)