VS Code Python autopep8 does not honor 2 spaces hanging indentation September 22, 2023 by Tarik Adding --indent-size=2 --ignore=E121 worked for me.