Valentin Ignatev <valentignatev@gmail.com> writes:
Hey Sam, I've looked in the python.el code and it seems that it reuses
python-indent-def-block-scale for calculating an indentation.
The default value is 2 which is why inside-parens indent doubles. Setting its
value to 1 fixes the issue.
I also wonder why authors choose double indent for aligning function
arguments. Is this some kind of an oldschool code style? :)
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
If I understand correctly (and I may well not -- I don't write much
python), this is just a preference issue, and setting
`python-indent-def-block-scale' to 1 fixes the issue?
If that's what's recommended by the standards, should we flip the
default to 1?
I've added Augusto to the CCs; perhaps he has an opinion here.