Yes, the rule is no space before ":", which I hate and have proposed to ignore. I have this literally everwhere in my code.

```
d = {
       key1 : value,
       key2 : value,
      }
```

I think it's much more readable.