Improve python light style for pcef-python