+6
−3
Loading
Black will apply no spaces around ':' operators for 'simple' expresssions , but will apply extra space around ':' operators for 'complex' expressions. Black treats anything more than variable names as 'complex', but this isn't noted in the Black documentation. Which leads to a few issues on the GitHub issue tracker that all report inconsistent spacing around ':' operators.