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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -