Fix PEP-8 warnings (spacing {1: 2} vs { 1: 2 })