python - Disable spaces code style settings for certain operators in PyCharm -


i know can go in settings > editor > code style > python , modify preferences there, problem in situations want spaces around operators not in others. example, multiplication have these preferences

foo[i*j + k/s]  # better foo[i * j + k / s]  # whitespace 

but want keep spaces if there function calls involved:

sqrt(foo(bar)*descriptive_name(baz)/i)  # way packed sqrt(foo(bar) * descriptive_name(baz) / i)  # 

is there option can set disable code-style specific operators (say multiplicative) keep active others (i still want x ** i transformed in x**i @ times)?

thanks in advance.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -