style: use less-deprecated var for py indent mode switch