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
Post a Comment