You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many projects use double indentation for function definition arguments. That is in order to allow the arguments to be clearly separated and visible.
I have not found a configuraion/knob to allow this with yapf. No matter my config it always try to go only for single indentation. How could I make the following not be changed?
Not quite everywhere else as if statements have the same issue. It seems to be anywhere that a new code block/indentation happens, though as mentioned in that other ticket, bad continuation was removed from the more recent versions of pylint as can be seen here: pylint-dev/pylint#3571
I do understand and commiserate if you aren't able to simply update your pylint version however and still would like the flexibility.
Many projects use double indentation for function definition arguments. That is in order to allow the arguments to be clearly separated and visible.
I have not found a configuraion/knob to allow this with yapf. No matter my config it always try to go only for single indentation. How could I make the following not be changed?
Keep in mind the double indentation is only for function definitions. Everywhere else it should be single.
Related issue but still no solution: #843
The text was updated successfully, but these errors were encountered: